|
Kodo 4.1.4 generated on June 22 2007 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kodo.jdo.PersistenceManagerFactoryImpl
public class PersistenceManagerFactoryImpl
Kodo PersistenceManagerFactory
implementation.
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.kernel.ConnectionRetainModes |
---|
CONN_RETAIN_ALWAYS, CONN_RETAIN_DEMAND, CONN_RETAIN_TRANS |
Constructor Summary | |
---|---|
PersistenceManagerFactoryImpl()
Default constructor required for TCK. |
|
PersistenceManagerFactoryImpl(BrokerFactory factory)
Constructor; supply delegate. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistenceManagerFactoryImpl()
public PersistenceManagerFactoryImpl(BrokerFactory factory)
Method Detail |
---|
public static PersistenceManagerFactory getPersistenceManagerFactory(Map map)
JDOHelper
.
public BrokerFactory getDelegate()
public OpenJPAConfiguration getConfiguration()
KodoPersistenceManagerFactory
getConfiguration
in interface KodoPersistenceManagerFactory
public Properties getProperties()
getProperties
in interface PersistenceManagerFactory
public Object putUserObject(Object key, Object val)
KodoPersistenceManagerFactory
putUserObject
in interface KodoPersistenceManagerFactory
public Object getUserObject(Object key)
KodoPersistenceManagerFactory
getUserObject
in interface KodoPersistenceManagerFactory
public DataStoreCache getDataStoreCache()
getDataStoreCache
in interface PersistenceManagerFactory
public KodoDataStoreCache getDataStoreCache(String cacheName)
KodoPersistenceManagerFactory
getDataStoreCache
in interface KodoPersistenceManagerFactory
public QueryResultCache getQueryResultCache()
KodoPersistenceManagerFactory
getQueryResultCache
in interface KodoPersistenceManagerFactory
public PersistenceManager getPersistenceManager()
getPersistenceManager
in interface PersistenceManagerFactory
public PersistenceManager getPersistenceManager(String user, String pass)
getPersistenceManager
in interface PersistenceManagerFactory
public KodoPersistenceManager getPersistenceManager(boolean managed, int connRetainMode)
KodoPersistenceManagerFactory
getPersistenceManager
in interface KodoPersistenceManagerFactory
ConnectionRetainModes
public KodoPersistenceManager getPersistenceManager(String user, String pass, boolean managed, int connRetainMode)
KodoPersistenceManagerFactory
getPersistenceManager
in interface KodoPersistenceManagerFactory
ConnectionRetainModes
public boolean startPersistenceServer()
KodoPersistenceManagerFactory
startPersistenceServer
in interface KodoPersistenceManagerFactory
public boolean joinPersistenceServer()
KodoPersistenceManagerFactory
joinPersistenceServer
in interface KodoPersistenceManagerFactory
public boolean stopPersistenceServer()
KodoPersistenceManagerFactory
stopPersistenceServer
in interface KodoPersistenceManagerFactory
public boolean isPersistenceServerRunning()
KodoPersistenceManagerFactory
isPersistenceServerRunning
in interface KodoPersistenceManagerFactory
public void addInstanceLifecycleListener(InstanceLifecycleListener listener, Class[] classes)
addInstanceLifecycleListener
in interface PersistenceManagerFactory
public void removeInstanceLifecycleListener(InstanceLifecycleListener listener)
removeInstanceLifecycleListener
in interface PersistenceManagerFactory
public void addTransferListener(RemoteTransferListener listener)
KodoPersistenceManagerFactory
addTransferListener
in interface KodoPersistenceManagerFactory
public void removeTransferListener(RemoteTransferListener listener)
KodoPersistenceManagerFactory
removeTransferListener
in interface KodoPersistenceManagerFactory
public void close()
close
in interface PersistenceManagerFactory
close
in interface Closeable
public boolean isClosed()
isClosed
in interface PersistenceManagerFactory
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
public Collection supportedOptions()
supportedOptions
in interface PersistenceManagerFactory
public String getConnectionUserName()
getConnectionUserName
in interface PersistenceManagerFactory
public void setConnectionUserName(String val)
setConnectionUserName
in interface PersistenceManagerFactory
public String getConnectionPassword()
KodoPersistenceManagerFactory
getConnectionPassword
in interface KodoPersistenceManagerFactory
public void setConnectionPassword(String val)
setConnectionPassword
in interface PersistenceManagerFactory
public String getConnectionURL()
getConnectionURL
in interface PersistenceManagerFactory
public void setConnectionURL(String val)
setConnectionURL
in interface PersistenceManagerFactory
public String getConnectionDriverName()
getConnectionDriverName
in interface PersistenceManagerFactory
public void setConnectionDriverName(String val)
setConnectionDriverName
in interface PersistenceManagerFactory
public String getConnectionFactoryName()
getConnectionFactoryName
in interface PersistenceManagerFactory
public void setConnectionFactoryName(String val)
setConnectionFactoryName
in interface PersistenceManagerFactory
public Object getConnectionFactory()
getConnectionFactory
in interface PersistenceManagerFactory
public void setConnectionFactory(Object val)
setConnectionFactory
in interface PersistenceManagerFactory
public String getConnectionFactory2Name()
getConnectionFactory2Name
in interface PersistenceManagerFactory
public void setConnectionFactory2Name(String val)
setConnectionFactory2Name
in interface PersistenceManagerFactory
public Object getConnectionFactory2()
getConnectionFactory2
in interface PersistenceManagerFactory
public void setConnectionFactory2(Object val)
setConnectionFactory2
in interface PersistenceManagerFactory
public boolean getOptimistic()
getOptimistic
in interface PersistenceManagerFactory
public void setOptimistic(boolean val)
setOptimistic
in interface PersistenceManagerFactory
public boolean getRetainValues()
getRetainValues
in interface PersistenceManagerFactory
public void setRetainValues(boolean val)
setRetainValues
in interface PersistenceManagerFactory
public boolean getRestoreValues()
getRestoreValues
in interface PersistenceManagerFactory
public void setRestoreValues(boolean val)
setRestoreValues
in interface PersistenceManagerFactory
public boolean getNontransactionalRead()
getNontransactionalRead
in interface PersistenceManagerFactory
public void setNontransactionalRead(boolean val)
setNontransactionalRead
in interface PersistenceManagerFactory
public boolean getNontransactionalWrite()
getNontransactionalWrite
in interface PersistenceManagerFactory
public void setNontransactionalWrite(boolean val)
setNontransactionalWrite
in interface PersistenceManagerFactory
public boolean getIgnoreCache()
getIgnoreCache
in interface PersistenceManagerFactory
public void setIgnoreCache(boolean val)
setIgnoreCache
in interface PersistenceManagerFactory
public boolean getMultithreaded()
getMultithreaded
in interface PersistenceManagerFactory
public void setMultithreaded(boolean val)
setMultithreaded
in interface PersistenceManagerFactory
public String getMapping()
getMapping
in interface PersistenceManagerFactory
public void setMapping(String mapping)
setMapping
in interface PersistenceManagerFactory
public boolean getDetachAllOnCommit()
getDetachAllOnCommit
in interface PersistenceManagerFactory
public void setDetachAllOnCommit(boolean val)
setDetachAllOnCommit
in interface PersistenceManagerFactory
public Reference getReference()
getReference
in interface Referenceable
public Object getObjectInstance(Object obj, Name name, Context ctx, Hashtable env) throws Exception
getObjectInstance
in interface ObjectFactory
Exception
|
Kodo 4.1.4 generated on June 22 2007 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |