|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OpenJPAEntityManagerFactorySPI
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory |
---|
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. |
void |
addTransactionListener(Object listener)
Register a listener for transaction-related events on the specified classes. |
OpenJPAEntityManagerSPI |
createEntityManager()
|
OpenJPAEntityManagerSPI |
createEntityManager(Map props)
Return an entity manager with the provided additional configuration settings. |
OpenJPAConfiguration |
getConfiguration()
Return the configuration for this factory. |
void |
removeLifecycleListener(Object listener)
Remove a listener for lifecycle-related events. |
void |
removeTransactionListener(Object listener)
Remove a listener for transaction-related events. |
Methods inherited from interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory |
---|
getProperties, getQueryResultCache, getStoreCache, getStoreCache, getUserObject, putUserObject |
Method Detail |
---|
void addLifecycleListener(Object listener, Class... classes)
org.apache.openjpa.event
package for
listener types.
addLifecycleListener
in interface OpenJPAEntityManagerFactory
void removeLifecycleListener(Object listener)
removeLifecycleListener
in interface OpenJPAEntityManagerFactory
void addTransactionListener(Object listener)
org.apache.openjpa.event
package for
listener types.
addTransactionListener
in interface OpenJPAEntityManagerFactory
void removeTransactionListener(Object listener)
removeTransactionListener
in interface OpenJPAEntityManagerFactory
OpenJPAConfiguration getConfiguration()
getConfiguration
in interface OpenJPAEntityManagerFactory
OpenJPAEntityManagerSPI createEntityManager()
createEntityManager
in interface OpenJPAEntityManagerFactory
OpenJPAEntityManagerSPI createEntityManager(Map props)
OpenJPAEntityManagerFactory
createEntityManager
in interface OpenJPAEntityManagerFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |