|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OpenJPAEntityManagerFactorySPI
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.
void removeLifecycleListener(Object listener)
void addTransactionListener(Object listener)
org.apache.openjpa.event
package for
listener types.
void removeTransactionListener(Object listener)
OpenJPAConfiguration getConfiguration()
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 |