Package org.springframework.aot.hint
Class JdkProxyHint.Builder
java.lang.Object
org.springframework.aot.hint.JdkProxyHint.Builder
- Enclosing class:
- JdkProxyHint
Builder for
JdkProxyHint.-
Method Summary
Modifier and TypeMethodDescriptiononReachableType(TypeReference reachableType) Make this hint conditional on the fact that the specified type can be resolved.proxiedInterfaces(Class<?>... proxiedInterfaces) Add the specified interfaces that the proxy should implement.proxiedInterfaces(TypeReference... proxiedInterfaces) Add the specified interfaces that the proxy should implement.
-
Method Details
-
proxiedInterfaces
Add the specified interfaces that the proxy should implement.- Parameters:
proxiedInterfaces- the interfaces the proxy should implement- Returns:
this, to facilitate method chaining
-
proxiedInterfaces
Add the specified interfaces that the proxy should implement.- Parameters:
proxiedInterfaces- the interfaces the proxy should implement- Returns:
this, to facilitate method chaining
-
onReachableType
Make this hint conditional on the fact that the specified type can be resolved.- Parameters:
reachableType- the type that should be reachable for this hint to apply- Returns:
this, to facilitate method chaining
-