|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProxyHelper
Pluggable helper which handles proxied instances correctly. (The default implementation supports cglib and javassist
| Method Summary | ||
|---|---|---|
String |
getClassNameOfObject(Object proxiedObject)
Returns the original fully qualified class-name for the given object which might be a proxied instance. |
|
String |
getNameOfClass(Class proxiedClass)
Returns the original fully qualified class-name for the given class which might be the class of a proxied instance. |
|
Class |
getUnproxiedClass(Class currentClass)
Returns the original class for the given class which might be the class of a proxied instance. |
|
|
getUnproxiedClass(Class currentClass,
Class<T> targetType)
In addition to ProxyHelper#getUnproxiedClass(java.lang.Class) it casts to the given type. |
|
boolean |
isProxiedClass(Class currentClass)
Checks if the given class is a class of a proxied instance. |
|
boolean |
isProxiedObject(Object proxiedObject)
Checks if the given instance is proxied. |
|
| Method Detail |
|---|
Class getUnproxiedClass(Class currentClass)
currentClass - class of proxy instance or any regular class.
<T> Class<T> getUnproxiedClass(Class currentClass,
Class<T> targetType)
T - Type declaration for generics.currentClass - class of proxy instance or any regular class.targetType - target class type
getUnproxiedClass(java.lang.Class)String getNameOfClass(Class proxiedClass)
proxiedClass - class of proxy instance or any regular class.
String getClassNameOfObject(Object proxiedObject)
proxiedObject - proxy instance or any regular object.
boolean isProxiedClass(Class currentClass)
currentClass - proxy class to check.
boolean isProxiedObject(Object proxiedObject)
proxiedObject - object to check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||