|
Kodo 4.0.0 generated on May 15 2006 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KodoEntityManagerFactory
Interface implemented by Kodo entity manager factories.
Field Summary |
---|
Fields inherited from interface kodo.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. |
void |
addTransferListener(kodo.remote.RemoteTransferListener listener)
This method only available on client factories. |
KodoEntityManager |
createEntityManager()
|
KodoEntityManager |
createEntityManager(Map props)
Return an entity manager with the provided additional configuration settings. |
kodo.conf.KodoConfiguration |
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. |
boolean |
isPersistenceServerRunning()
Return true if a persistence server is running. |
boolean |
joinPersistenceServer()
Join the thread running the persistence server for this factory. |
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. |
void |
removeTransferListener(kodo.remote.RemoteTransferListener listener)
This method only available on client factories. |
boolean |
startPersistenceServer()
Start the persistence server. |
boolean |
stopPersistenceServer()
Stop the persistence server. |
Methods inherited from interface javax.persistence.EntityManagerFactory |
---|
close, isOpen |
Methods inherited from interface com.solarmetric.util.Closeable |
---|
close |
Method Detail |
---|
kodo.conf.KodoConfiguration getConfiguration()
Properties getProperties()
Object putUserObject(Object key, Object val)
Object getUserObject(Object key)
StoreCache getStoreCache()
StoreCache getStoreCache(String name)
QueryResultCache getQueryResultCache()
KodoEntityManager createEntityManager()
createEntityManager
in interface EntityManagerFactory
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
boolean startPersistenceServer()
boolean joinPersistenceServer()
boolean stopPersistenceServer()
boolean isPersistenceServerRunning()
void addLifecycleListener(Object listener, Class... classes)
kodo.event
package for listener types.
void removeLifecycleListener(Object listener)
void addTransferListener(kodo.remote.RemoteTransferListener listener)
void removeTransferListener(kodo.remote.RemoteTransferListener listener)
|
Kodo 4.0.0 generated on May 15 2006 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |