Uses of Class
org.springframework.aot.hint.ProxyHints
Package
Description
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
-
Uses of ProxyHints in org.springframework.aot.hint
Modifier and TypeMethodDescriptionRuntimeHints.proxies()
Provide access to proxy-based hints.ProxyHints.registerClassProxy
(Class<?> targetClass, Consumer<ClassProxyHint.Builder> classProxyHint) Register that a class proxy is required for the specified class.ProxyHints.registerClassProxy
(TypeReference targetClass, Consumer<ClassProxyHint.Builder> classProxyHint) Register that a class proxy is required for the class defined by the specifiedTypeReference
.ProxyHints.registerJdkProxy
(Class<?>... proxiedInterfaces) Register that a JDK proxy implementing the specified interfaces is required.ProxyHints.registerJdkProxy
(Supplier<JdkProxyHint> hint) Register aJdkProxyHint
.ProxyHints.registerJdkProxy
(TypeReference... proxiedInterfaces) Register that a JDK proxy implementing the interfaces defined by the specifiedtype references
is required.