Note that this class does not take specifics of Spring AOP or any other framework arrangement into account. It just operates on the JDK and CGLIB proxy facilities and their core conventions.
org.springframework.aot.hint.ProxyHints , org.springframework.aot.hint.ReflectionHints
| Modifier and Type | Field and Description |
|---|---|
| private static final Consumer | |
| private static final Consumer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | registerProxyIfNecessary(Class<?>
the class to introspect candidateClass, RuntimeHints the RuntimeHints instance to register the hints on runtimeHints)Register a proxy hint for a JDK proxy or corresponding reflection hints for a CGLIB-generated subclass, if necessary. |
| asClassBasedProxy | back to summary |
|---|---|
| private static final Consumer<TypeHint. | |
| asProxiedUserClass | back to summary |
|---|---|
| private static final Consumer<TypeHint. | |
| ClassHintUtils | back to summary |
|---|---|
| public ClassHintUtils() | |
| registerProxyIfNecessary | back to summary |
|---|---|
| public static void registerProxyIfNecessary(Class<?> candidateClass, RuntimeHints runtimeHints) Register a proxy hint for a JDK proxy or corresponding reflection hints for a CGLIB-generated subclass, if necessary.
| |