Class PersistencePool
- java.lang.Object
-
- de.hybris.platform.persistence.framework.PersistencePool
-
public class PersistencePool extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PersistencePool.PersistenceListener
-
Constructor Summary
Constructors Constructor Description PersistencePool(AbstractTenant system)
-
Method Summary
-
-
-
Constructor Detail
-
PersistencePool
public PersistencePool(AbstractTenant system)
-
-
Method Detail
-
registerPersistenceListener
public void registerPersistenceListener(PersistencePool.PersistenceListener listener)
-
unregisterPersistenceListener
public void unregisterPersistenceListener(PersistencePool.PersistenceListener listener)
-
notifyEntityCreation
public void notifyEntityCreation(PK pk)
-
registerHJMPListeners
public void registerHJMPListeners(InvalidationManager invManager)
-
clearCache
public void clearCache()
-
createEntityInstance
public EntityInstance createEntityInstance(java.lang.String jndiName, PK pk)
-
findEntityByPK
public EntityProxy findEntityByPK(java.lang.String jndiName, PK pk) throws YObjectNotFoundException
- Throws:
YObjectNotFoundException
-
getOrCreateUninitializedEntityProxy
public EntityProxy getOrCreateUninitializedEntityProxy(java.lang.String jndiName, PK pk)
-
getEntityProxy
public EntityProxy getEntityProxy(PK pk)
-
removeEntityProxy
public void removeEntityProxy(PK pk)
-
getHomeProxy
public HomeProxy getHomeProxy(int tc)
-
getHomeProxy
public HomeProxy getHomeProxy(java.lang.String jndiName)
-
getCache
public Cache getCache()
-
getTenant
public AbstractTenant getTenant()
-
getPersistenceManager
public PersistenceManager getPersistenceManager()
-
getDatabase
public java.lang.String getDatabase()
-
getDataSource
public HybrisDataSource getDataSource()
-
getJDBCValueMappings
public JDBCValueMappings getJDBCValueMappings()
-
verifyTableExistenceIfNeeded
public void verifyTableExistenceIfNeeded(java.sql.Connection connection, ItemDeployment depl) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-