Package org.springframework.nativex.hint
Annotation Type AotProxyHint
-
@Repeatable(AotProxyHints.class) @Retention(RUNTIME) public @interface AotProxyHint
Used byNativeHint
annotations 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[]
interfaceNames
Alternative way to configure interfaces for a class proxy, should be used when type visibility prevents usingClass
references, or for nested types which should be specific using a$
separator (for examplecom.example.Foo$Bar
).Class<?>[]
interfaces
Preferred way to configure interfaces for a class proxy.int
proxyFeatures
Class<?>
targetClass
String
targetClassName
-
-
-
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 usingClass
references, or for nested types which should be specific using a$
separator (for examplecom.example.Foo$Bar
).- Returns:
- the type names
- Default:
- {}
-
-