Package org.springframework.data.util
Class ProxyUtils
java.lang.Object
org.springframework.data.util.ProxyUtils
Proxy type detection utilities, extensible via
ProxyUtils.ProxyDetector
registered via Spring factories.- Author:
- Oliver Gierke
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
SPI to extend Spring's default proxy detection capabilities. -
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?>
getUserClass
(Class<?> type) Returns the user class for the given type.static Class<?>
getUserClass
(Object source) Returns the user class for the given source object.
-
Method Details
-
getUserClass
Returns the user class for the given type.- Parameters:
type
- must not be null.- Returns:
-
getUserClass
Returns the user class for the given source object.- Parameters:
source
- must not be null.- Returns:
-