Package org.springframework.aot.hint
Class JdkProxyHint.Builder
java.lang.Object
org.springframework.aot.hint.JdkProxyHint.Builder
- Enclosing class:
- JdkProxyHint
Builder for
JdkProxyHint
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create aJdkProxyHint
based on the state of this builder.proxiedInterfaces
(Class<?>... proxiedInterfaces) Add the specified interfaces that the proxy should implement.proxiedInterfaces
(TypeReference... proxiedInterfaces) Add the specified interfaces that the proxy should implement.
-
Constructor Details
-
Builder
public Builder()
-
-
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
-
build
Create aJdkProxyHint
based on the state of this builder.- Returns:
- a jdk proxy hint
-