@java.lang.SuppressWarnings({"rawtypes", "unchecked"}) public class JavassistProxyFactory extends java.lang.Object
A proxy factory that uses Javassist to create proxies
Type | Name and description |
---|---|
protected java.lang.Object |
createProxiedInstance(Session session, java.lang.Class cls, java.lang.Class proxyClass, java.io.Serializable id) |
T |
createProxy(Session session, java.lang.Class<T> type, java.io.Serializable key) |
java.io.Serializable |
getIdentifier(java.lang.Object obj) |
protected java.lang.Class |
getProxyClass(java.lang.Class type) |
protected java.lang.Object |
getProxyInstance(Session session, java.lang.Class type, java.io.Serializable id) |
boolean |
isInitialized(java.lang.Object object) Checks whether a given proxy is initialized |
boolean |
isProxy(java.lang.Object object) |
java.lang.Object |
unwrap(java.lang.Object object) Unwraps the given proxy if it is one |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Checks whether a given proxy is initialized
object
- The object to checkUnwraps the given proxy if it is one
object
- The object