public class SimpleHibernateProxyHandler extends JavassistProxyFactory implements ProxyHandler, ProxyFactory
Implementation of the ProxyHandler interface for Hibernate.
| Type Params | Return Type | Name and description |
|---|---|---|
<T> |
public T |
createProxy(Session session, Class<T> type, Serializable key) |
<T, K extends Serializable> |
public T |
createProxy(Session session, AssociationQueryExecutor<K, T> executor, K associationKey) |
|
public HibernateProxy |
getAssociationProxy(Object obj, String associationName) |
|
public Serializable |
getIdentifier(Object obj) |
|
public Class<?> |
getProxiedClass(Object o) |
|
public Object |
getProxyIdentifier(Object o) |
|
public void |
initialize(Object o) |
|
public boolean |
isInitialized(Object o) |
|
public boolean |
isInitialized(Object obj, String associationName) |
|
public boolean |
isProxy(Object o) |
|
public Object |
unwrap(Object object) |
|
public Object |
unwrapIfProxy(Object instance) |
|
public Object |
unwrapProxy(HibernateProxy proxy) |
| Methods inherited from class | Name |
|---|---|
class JavassistProxyFactory |
createProxy, createProxy, equals, getClass, getIdentifier, getProxiedClass, hashCode, initialize, isInitialized, isInitialized, isProxy, notify, notifyAll, toString, unwrap, wait, wait, wait |