|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KodoEntityManagerFactory
Redefines OpenJPA EntityManagerFactory for backward compatibility with published Kodo-specific 4.0 API.
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory |
---|
CONN_RETAIN_ALWAYS, CONN_RETAIN_DEMAND, CONN_RETAIN_TRANS |
Method Summary | |
---|---|
void |
addTransferListener(RemoteTransferListener listener)
Deprecated. This method only available on client factories. |
KodoEntityManager |
createEntityManager()
Deprecated. |
KodoEntityManager |
createEntityManager(Map props)
Deprecated. Return an entity manager with the provided additional configuration settings. |
QueryResultCache |
getQueryResultCache()
Deprecated. Access query result cache. |
StoreCache |
getStoreCache()
Deprecated. Access the level 2 store cache. |
StoreCache |
getStoreCache(String name)
Deprecated. Access a named level 2 store cache. |
boolean |
isPersistenceServerRunning()
Deprecated. Return true if a persistence server is running. |
boolean |
joinPersistenceServer()
Deprecated. Join the thread running the persistence server for this factory. |
void |
removeTransferListener(RemoteTransferListener listener)
Deprecated. This method only available on client factories. |
boolean |
startPersistenceServer()
Deprecated. Start the persistence server. |
boolean |
stopPersistenceServer()
Deprecated. Stop the persistence server. |
Methods inherited from interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI |
---|
addLifecycleListener, addTransactionListener, getConfiguration, removeLifecycleListener, removeTransactionListener |
Methods inherited from interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory |
---|
getProperties, getUserObject, putUserObject |
Methods inherited from interface javax.persistence.EntityManagerFactory |
---|
close, isOpen |
Method Detail |
---|
StoreCache getStoreCache()
getStoreCache
in interface OpenJPAEntityManagerFactory
StoreCache getStoreCache(String name)
getStoreCache
in interface OpenJPAEntityManagerFactory
QueryResultCache getQueryResultCache()
getQueryResultCache
in interface OpenJPAEntityManagerFactory
KodoEntityManager createEntityManager()
createEntityManager
in interface EntityManagerFactory
createEntityManager
in interface OpenJPAEntityManagerFactory
createEntityManager
in interface OpenJPAEntityManagerFactorySPI
KodoEntityManager createEntityManager(Map props)
Return an entity manager with the provided additional configuration settings. Kodo recognizes the following configuration settings in this method:
createEntityManager
in interface EntityManagerFactory
createEntityManager
in interface OpenJPAEntityManagerFactory
createEntityManager
in interface OpenJPAEntityManagerFactorySPI
boolean startPersistenceServer()
boolean joinPersistenceServer()
boolean stopPersistenceServer()
boolean isPersistenceServerRunning()
void addTransferListener(RemoteTransferListener listener)
void removeTransferListener(RemoteTransferListener listener)
|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |