From f12504d6dba7f3bfdf40da699efb15176fbf632d Mon Sep 17 00:00:00 2001 From: songyinyin Date: Mon, 17 Apr 2023 10:46:06 +0800 Subject: [PATCH] solon update 2.2.12 --- pom.xml | 2 +- .../aot/{MyNativeProcessor.java => MyNativeRegistrar.java} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/main/java/com/github/dudiao/solon/nativex/example/aot/{MyNativeProcessor.java => MyNativeRegistrar.java} (70%) diff --git a/pom.xml b/pom.xml index ae41040..38a3cea 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.noear solon-parent - 2.2.12-SNAPSHOT + 2.2.12 diff --git a/src/main/java/com/github/dudiao/solon/nativex/example/aot/MyNativeProcessor.java b/src/main/java/com/github/dudiao/solon/nativex/example/aot/MyNativeRegistrar.java similarity index 70% rename from src/main/java/com/github/dudiao/solon/nativex/example/aot/MyNativeProcessor.java rename to src/main/java/com/github/dudiao/solon/nativex/example/aot/MyNativeRegistrar.java index 6e1179a..6b8c353 100644 --- a/src/main/java/com/github/dudiao/solon/nativex/example/aot/MyNativeProcessor.java +++ b/src/main/java/com/github/dudiao/solon/nativex/example/aot/MyNativeRegistrar.java @@ -4,7 +4,7 @@ import lombok.extern.slf4j.Slf4j; import org.noear.solon.annotation.Component; import org.noear.solon.aot.RuntimeNativeMetadata; -import org.noear.solon.aot.RuntimeNativeProcessor; +import org.noear.solon.aot.RuntimeNativeRegistrar; import org.noear.solon.core.AopContext; /** @@ -13,10 +13,10 @@ */ @Slf4j @Component -public class MyNativeProcessor implements RuntimeNativeProcessor { +public class MyNativeRegistrar implements RuntimeNativeRegistrar { @Override - public void process(AopContext context, RuntimeNativeMetadata nativeMetadata) { + public void register(AopContext context, RuntimeNativeMetadata nativeMetadata) { log.info("MyNativeProcessor process"); nativeMetadata.registerSerialization(User.class); }