File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/com/github/dudiao/solon/nativex/example/aot Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >org.noear</groupId >
99 <artifactId >solon-parent</artifactId >
10- <version >2.2.12-SNAPSHOT </version >
10+ <version >2.2.12</version >
1111 <relativePath />
1212 </parent >
1313
Original file line number Diff line number Diff line change 44import lombok .extern .slf4j .Slf4j ;
55import org .noear .solon .annotation .Component ;
66import org .noear .solon .aot .RuntimeNativeMetadata ;
7- import org .noear .solon .aot .RuntimeNativeProcessor ;
7+ import org .noear .solon .aot .RuntimeNativeRegistrar ;
88import org .noear .solon .core .AopContext ;
99
1010/**
1313 */
1414@ Slf4j
1515@ Component
16- public class MyNativeProcessor implements RuntimeNativeProcessor {
16+ public class MyNativeRegistrar implements RuntimeNativeRegistrar {
1717
1818 @ Override
19- public void process (AopContext context , RuntimeNativeMetadata nativeMetadata ) {
19+ public void register (AopContext context , RuntimeNativeMetadata nativeMetadata ) {
2020 log .info ("MyNativeProcessor process" );
2121 nativeMetadata .registerSerialization (User .class );
2222 }
You can’t perform that action at this time.
0 commit comments