|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OpenJPAEntityManagerFactory
Interface implemented by OpenJPA entity manager factories.
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.kernel.ConnectionRetainModes |
---|
CONN_RETAIN_ALWAYS, CONN_RETAIN_DEMAND, CONN_RETAIN_TRANS |
Method Summary | |
---|---|
void |
addLifecycleListener(Object listener,
Class... classes)
Register a listener for lifecycle-related events on the specified classes. |
OpenJPAEntityManager |
createEntityManager()
|
OpenJPAEntityManager |
createEntityManager(Map props)
Return an entity manager with the provided additional configuration settings. |
OpenJPAConfiguration |
getConfiguration()
Return the configuration for this factory. |
Properties |
getProperties()
Return properties describing this runtime. |
QueryResultCache |
getQueryResultCache()
Access query result cache. |
StoreCache |
getStoreCache()
Access the level 2 store cache. |
StoreCache |
getStoreCache(String name)
Access a named level 2 store cache. |
Object |
getUserObject(Object key)
Get the value for the specified key from the map of user objects. |
Object |
putUserObject(Object key,
Object val)
Put the specified key-value pair into the map of user objects. |
void |
removeLifecycleListener(Object listener)
Remove a listener for lifecycle-related events. |
Methods inherited from interface org.apache.openjpa.lib.util.Closeable |
---|
close |
Method Detail |
---|
OpenJPAConfiguration getConfiguration()
Properties getProperties()
Object putUserObject(Object key, Object val)
Object getUserObject(Object key)
StoreCache getStoreCache()
StoreCache getStoreCache(String name)
QueryResultCache getQueryResultCache()
OpenJPAEntityManager createEntityManager()
OpenJPAEntityManager createEntityManager(Map props)
void addLifecycleListener(Object listener, Class... classes)
org.apache.openjpa.event
package for
listener types.
void removeLifecycleListener(Object listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |