Package org.springframework.nativex.hint
Annotation Type AotProxyHint
-
@Repeatable(AotProxyHints.class) @Retention(RUNTIME) public @interface AotProxyHint
Used byNativeHintannotations to indicate which classes need a proxy generating at build time - these proxies enable runtime Spring features like AOP to function correctly.- Author:
- Andy Clement
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]interfaceNamesAlternative way to configure interfaces for a class proxy, should be used when type visibility prevents usingClassreferences, or for nested types which should be specific using a$separator (for examplecom.example.Foo$Bar).Class<?>[]interfacesPreferred way to configure interfaces for a class proxy.intproxyFeaturesClass<?>targetClassStringtargetClassName
-
-
-
Element Detail
-
targetClass
Class<?> targetClass
- Default:
- java.lang.Object.class
-
-
-
targetClassName
String targetClassName
- Default:
- "java.lang.Object"
-
-
-
interfaces
Class<?>[] interfaces
Preferred way to configure interfaces for a class proxy.- Returns:
- the types
- Default:
- {}
-
-
-
interfaceNames
String[] interfaceNames
Alternative way to configure interfaces for a class proxy, should be used when type visibility prevents usingClassreferences, or for nested types which should be specific using a$separator (for examplecom.example.Foo$Bar).- Returns:
- the type names
- Default:
- {}
-
-