public class PersistencePool extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
PersistencePool.PersistenceListener |
| Constructor and Description |
|---|
PersistencePool(AbstractTenant system) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
EntityInstance |
createEntityInstance(String jndiName,
PK pk) |
EntityProxy |
findEntityByPK(String jndiName,
PK pk) |
Cache |
getCache() |
String |
getDatabase() |
HybrisDataSource |
getDataSource() |
EntityProxy |
getEntityProxy(PK pk) |
HomeProxy |
getHomeProxy(int tc) |
HomeProxy |
getHomeProxy(String jndiName) |
JDBCValueMappings |
getJDBCValueMappings() |
EntityProxy |
getOrCreateUninitializedEntityProxy(String jndiName,
PK pk) |
PersistenceManager |
getPersistenceManager() |
AbstractTenant |
getTenant() |
void |
notifyEntityCreation(PK pk) |
void |
registerHJMPListeners(InvalidationManager invManager) |
void |
registerPersistenceListener(PersistencePool.PersistenceListener listener) |
void |
removeEntityProxy(PK pk) |
void |
unregisterPersistenceListener(PersistencePool.PersistenceListener listener) |
void |
verifyTableExistenceIfNeeded(Connection connection,
ItemDeployment depl) |
public PersistencePool(AbstractTenant system)
public void registerPersistenceListener(PersistencePool.PersistenceListener listener)
public void unregisterPersistenceListener(PersistencePool.PersistenceListener listener)
public void notifyEntityCreation(PK pk)
public void registerHJMPListeners(InvalidationManager invManager)
public void clearCache()
public EntityInstance createEntityInstance(String jndiName, PK pk)
public EntityProxy findEntityByPK(String jndiName, PK pk) throws YObjectNotFoundException
YObjectNotFoundExceptionpublic EntityProxy getOrCreateUninitializedEntityProxy(String jndiName, PK pk)
public EntityProxy getEntityProxy(PK pk)
public void removeEntityProxy(PK pk)
public HomeProxy getHomeProxy(int tc)
public Cache getCache()
public AbstractTenant getTenant()
public PersistenceManager getPersistenceManager()
public String getDatabase()
public HybrisDataSource getDataSource()
public JDBCValueMappings getJDBCValueMappings()
public void verifyTableExistenceIfNeeded(Connection connection, ItemDeployment depl) throws SQLException
SQLExceptionCopyright © 2017 SAP SE. All Rights Reserved.