public class SimpleHibernateProxyHandler extends JavassistProxyFactory
Implementation of the ProxyHandler interface for Hibernate.
Type Params | Return Type | Name and description |
---|---|---|
<T> |
T |
createProxy(Session session, java.lang.Class<T> type, java.io.Serializable key) |
<T, K extends Serializable> |
T |
createProxy(Session session, AssociationQueryExecutor<K, T> executor, K associationKey) |
|
org.hibernate.proxy.HibernateProxy |
getAssociationProxy(java.lang.Object obj, java.lang.String associationName) |
|
java.io.Serializable |
getIdentifier(java.lang.Object obj) |
|
java.lang.Class<?> |
getProxiedClass(java.lang.Object o) |
|
java.lang.Object |
getProxyIdentifier(java.lang.Object o) |
|
void |
initialize(java.lang.Object o) |
|
boolean |
isInitialized(java.lang.Object o) |
|
boolean |
isInitialized(java.lang.Object obj, java.lang.String associationName) |
|
boolean |
isProxy(java.lang.Object o) |
|
java.lang.Object |
unwrap(java.lang.Object object) |
|
java.lang.Object |
unwrapIfProxy(java.lang.Object instance) |
|
java.lang.Object |
unwrapProxy(org.hibernate.proxy.HibernateProxy proxy) |
Methods inherited from class | Name |
---|---|
class JavassistProxyFactory |
createMethodHandler, createMethodHandler, createProxiedInstance, createProxy, createProxy, getIdentifier, getProxiedClass, getProxyClass, getProxyInstance, getProxyInterfaces, initialize, isInitialized, isInitialized, isProxy, unwrap |
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() |