public interface LazyInitializerFactory
| Modifier and Type | Method and Description |
|---|---|
void |
clearProxies()
Clears all proxy objects stored in this factory
|
KunderaProxy |
getProxy(String entityName)
Returns proxy instance for a given entity name, null if none exists
|
KunderaProxy |
getProxy(String entityName,
Class<?> persistentClass,
Method getIdentifierMethod,
Method setIdentifierMethod,
Object id,
PersistenceDelegator pd)
Get Lazily loadable @Entity proxy.
|
<E> void |
setProxyOwners(EntityMetadata entityMetadata,
E e)
Sets the entity e as "owner" into proxy it holds.
|
KunderaProxy getProxy(String entityName, Class<?> persistentClass, Method getIdentifierMethod, Method setIdentifierMethod, Object id, PersistenceDelegator pd)
entityName - the entity namepersistentClass - the persistent classgetIdentifierMethod - the get identifier methodsetIdentifierMethod - the set identifier methodid - the idpersistenceDelegator - the persistence delegatorjavax.persistence.PersistenceException - the persistence exceptionKunderaProxy getProxy(String entityName)
entityName - void clearProxies()
<E> void setProxyOwners(EntityMetadata entityMetadata, E e)
Copyright © 2015. All Rights Reserved.