Skip to content

Commit

Permalink
solon update 2.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
dudiao committed Apr 17, 2023
1 parent 43e12f9 commit f12504d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.noear</groupId>
<artifactId>solon-parent</artifactId>
<version>2.2.12-SNAPSHOT</version>
<version>2.2.12</version>
<relativePath />
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand All @@ -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);
}
Expand Down

0 comments on commit f12504d

Please sign in to comment.