Package org.springframework.aot.hint
Class ClassProxyHint
java.lang.Object
org.springframework.aot.hint.ClassProxyHint
A hint that describes the need for a proxy against a concrete class.
- Since:
- 6.0
- Author:
- Stephane Nicoll
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the interfaces to be proxied.Return the target class of the proxy.int
hashCode()
static ClassProxyHint.Builder
Initialize a builder with the target class to use.static ClassProxyHint.Builder
of
(TypeReference targetClass) Initialize a builder with the target class to use.
-
Method Details
-
of
Initialize a builder with the target class to use.- Parameters:
targetClass
- the target class of the proxy- Returns:
- a builder for the hint
-
of
Initialize a builder with the target class to use.- Parameters:
targetClass
- the target class of the proxy- Returns:
- a builder for the hint
-
getTargetClass
Return the target class of the proxy.- Returns:
- the target class
-
getProxiedInterfaces
Return the interfaces to be proxied.- Returns:
- the interfaces that the proxy should implement
-
equals
-
hashCode
public int hashCode()
-