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); }