org.objectweb.speedo.pm.lib
Class SpeedoProxyManagerFactory

java.lang.Object
  extended byorg.objectweb.speedo.pm.lib.SpeedoProxyManagerFactory
All Implemented Interfaces:
org.objectweb.fractal.api.control.BindingController, javax.jdo.datastore.DataStoreCache, javax.jdo.PersistenceManagerFactory, ProxyManagerFactory, java.io.Serializable

public class SpeedoProxyManagerFactory
extends java.lang.Object
implements ProxyManagerFactory, javax.jdo.PersistenceManagerFactory, org.objectweb.fractal.api.control.BindingController

The SpeepoProxyManagerFactory is a factory of ProxyManager. This primitive component exports the ProxyManagerFactory interface, permitting to manage the proxy manager allocations. Due to a high cost of ProxyManager instances allocation, the unsused ProxyManager are pooled. For this reason, the SpeedoProxyManagerFactory uses a Pool of SpeedoProxyManager. The SpeedoProxyManagerFactory manages also the attachement of ProxyManager to the current thread through a ProxyManagerSwitch.

Author:
S.Chassande-Barrioz
See Also:
ProxyManager, ProxyManagerSwitch, SpeedoProxyManager, SpeedoProxyManagerFactory, SpeedoProxyManagerInstanciator, SpeedoProxyManagerSwitch, Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.jdo.datastore.DataStoreCache
javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache
 
Field Summary
static java.lang.String CACHE_M_BINDING
           
static java.lang.String COMPONENT_BINDING
           
static java.lang.String JORM_FACTORY_BINDING
           
static java.lang.String MAPPER_BINDING
           
static java.lang.String PM_POOL_BINDING
           
static java.lang.String PROXY_MANAGER_SWITCH_BINDING
           
static java.lang.String SEQUENCE_M_BINDING
           
static java.lang.String TPM_BINDING
           
static java.lang.String UNBIND_M_BINDING
           
 
Constructor Summary
SpeedoProxyManagerFactory()
           
 
Method Summary
 void addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener l, java.lang.Class[] classes)
           
 void bindFc(java.lang.String s, java.lang.Object o)
           
 void bindPM2Thread(ProxyManager pm)
          Ask to the PMS to bind a particular PM to the Thread.
 void close()
           
 void evict(java.lang.Object oid)
           
 void evictAll()
           
 void evictAll(java.lang.Class clazz, boolean subClasses)
           
 void evictAll(java.util.Collection oids)
           
 void evictAll(java.lang.Object[] oids)
           
 java.lang.String getConnectionDriverName()
          Get the driver name for the data store connection.
 java.lang.Object getConnectionFactory()
          Get the data store connection factory.
 java.lang.Object getConnectionFactory2()
          Get the second data store connection factory.
 java.lang.String getConnectionFactory2Name()
          Get the name for the second data store connection factory.
 java.lang.String getConnectionFactoryName()
          Get the name for the data store connection factory.
protected  java.lang.String getConnectionPassword()
          Get the password for the data store connection.
 java.lang.String getConnectionURL()
          Get the URL for the data store connection.
 java.lang.String getConnectionUserName()
          Get the user name for the data store connection.
 javax.jdo.datastore.DataStoreCache getDataStoreCache()
           
 boolean getIgnoreCache()
          Get the default IgnoreCache setting for all PersistenceManager instances obtained from this factory.
 java.lang.String getMapping()
           
 int getMaxPool()
          Get the MaxPool setting for the PersistenceManager pool for this factory.
 int getMinPool()
          Get the MinPool setting for the PersistenceManager pool for this factory.
 int getMsWait()
          Get the MsWait setting for the PersistenceManager pool for this factory.
 boolean getMultithreaded()
          Get the default Multithreaded setting for all PersistenceManager instances obtained from this factory.
 boolean getNontransactionalRead()
          Get the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory.
 boolean getNontransactionalWrite()
          Get the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory.
 boolean getOptimistic()
          Get the default Optimistic setting for all PersistenceManager instances obtained from this factory.
 javax.jdo.PersistenceManager getPersistenceManager()
          Get an instance of PersistenceManager from this factory.
 javax.jdo.PersistenceManager getPersistenceManager(java.lang.Object cs)
           
 javax.jdo.PersistenceManager getPersistenceManager(java.lang.String userid, java.lang.String password)
          Get an instance of PersistenceManager from this factory.
 org.objectweb.perseus.pool.api.Pool getPool()
           
 java.util.Properties getProperties()
          Return non-configurable properties of this PersistenceManagerFactory.
 boolean getRestoreValues()
           
 boolean getRetainValues()
          Get the default RetainValues setting for all PersistenceManager instances obtained from this factory.
 SequenceManager getSequenceManager()
          Get the sequence manager associated to the pmf.
 boolean isClosed()
           
 java.lang.String[] listFc()
           
 ProxyManager lookup()
          Finds in the associated ProxyManagerSwitch a ProxyManager managed by the ProxyManagerFactory.
 java.lang.Object lookupFc(java.lang.String s)
           
 void pin(java.lang.Object oid)
           
 void pinAll(java.lang.Class clazz, boolean subClasses)
           
 void pinAll(java.util.Collection oids)
           
 void pinAll(java.lang.Object[] oids)
           
 void proxyManagerClosed(ProxyManager pr)
          Indicates when a PM has been closed.
 void removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener l)
           
 void setConnectionDriverName(java.lang.String driverName)
          Set the driver name for the data store connection.
 void setConnectionFactory(java.lang.Object connectionFactory)
          Set the data store connection factory.
 void setConnectionFactory2(java.lang.Object connectionfactory)
          Set the second data store connection factory.
 void setConnectionFactory2Name(java.lang.String connectionFactoryName)
          Set the name for the second data store connection factory.
 void setConnectionFactoryName(java.lang.String connectionFactoryName)
          Set the name for the data store connection factory.
 void setConnectionPassword(java.lang.String password)
          Set the password for the data store connection.
 void setConnectionURL(java.lang.String URL)
          Set the URL for the data store connection.
 void setConnectionUserName(java.lang.String userName)
          Set the user name for the data store connection.
 void setIgnoreCache(boolean flag)
          Set the default IgnoreCache setting for all PersistenceManager instances obtained from this factory.
 void setMapping(java.lang.String arg0)
           
 void setMaxPool(int maxPool)
          Set the MaxPool setting for the PersistenceManager pool for this factory.
 void setMinPool(int minPool)
          Set the MinPool setting for the PersistenceManager pool for this factory.
 void setMsWait(int msWait)
          Set the MsWait setting for the PersistenceManager pool for this factory.
 void setMultithreaded(boolean flag)
          Set the default Multithreaded setting for all PersistenceManager instances obtained from this factory.
 void setNontransactionalRead(boolean flag)
          Set the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory.
 void setNontransactionalWrite(boolean flag)
          Set the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory.
 void setOptimistic(boolean flag)
          Set the default Optimistic setting for all PersistenceManager instances obtained from this factory.
 void setRestoreValues(boolean b)
           
 void setRetainValues(boolean flag)
          Set the default RetainValues setting for all PersistenceManager instances obtained from this factory.
 void setSequenceManager(SequenceManager sequenceManager)
          Set the sequence manager.
 java.util.Collection supportedOptions()
          The application can determine from the results of this method which optional features, and which query languages are supported by the JDO implementation.
 void unbindFc(java.lang.String s)
           
 void unbindPM()
          It call pms.unbind(this) in order to unbind a ProxyManager managed by this ProxyManagerFactory, from the thread.
 void unpin(java.lang.Object oid)
           
 void unpinAll(java.lang.Class clazz, boolean subClasses)
           
 void unpinAll(java.util.Collection oids)
           
 void unpinAll(java.lang.Object[] oids)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAPPER_BINDING

public static final java.lang.String MAPPER_BINDING
See Also:
Constant Field Values

JORM_FACTORY_BINDING

public static final java.lang.String JORM_FACTORY_BINDING
See Also:
Constant Field Values

PM_POOL_BINDING

public static final java.lang.String PM_POOL_BINDING
See Also:
Constant Field Values

PROXY_MANAGER_SWITCH_BINDING

public static final java.lang.String PROXY_MANAGER_SWITCH_BINDING
See Also:
Constant Field Values

TPM_BINDING

public static final java.lang.String TPM_BINDING
See Also:
Constant Field Values

CACHE_M_BINDING

public static final java.lang.String CACHE_M_BINDING
See Also:
Constant Field Values

UNBIND_M_BINDING

public static final java.lang.String UNBIND_M_BINDING
See Also:
Constant Field Values

COMPONENT_BINDING

public static final java.lang.String COMPONENT_BINDING
See Also:
Constant Field Values

SEQUENCE_M_BINDING

public static final java.lang.String SEQUENCE_M_BINDING
See Also:
Constant Field Values
Constructor Detail

SpeedoProxyManagerFactory

public SpeedoProxyManagerFactory()
Method Detail

listFc

public java.lang.String[] listFc()
Specified by:
listFc in interface org.objectweb.fractal.api.control.BindingController

lookupFc

public java.lang.Object lookupFc(java.lang.String s)
Specified by:
lookupFc in interface org.objectweb.fractal.api.control.BindingController

bindFc

public void bindFc(java.lang.String s,
                   java.lang.Object o)
Specified by:
bindFc in interface org.objectweb.fractal.api.control.BindingController

unbindFc

public void unbindFc(java.lang.String s)
Specified by:
unbindFc in interface org.objectweb.fractal.api.control.BindingController

evict

public void evict(java.lang.Object oid)
Specified by:
evict in interface javax.jdo.datastore.DataStoreCache

evictAll

public void evictAll(java.lang.Class clazz,
                     boolean subClasses)
Specified by:
evictAll in interface javax.jdo.datastore.DataStoreCache

evictAll

public void evictAll(java.util.Collection oids)
Specified by:
evictAll in interface javax.jdo.datastore.DataStoreCache

evictAll

public void evictAll(java.lang.Object[] oids)
Specified by:
evictAll in interface javax.jdo.datastore.DataStoreCache

evictAll

public void evictAll()
Specified by:
evictAll in interface javax.jdo.datastore.DataStoreCache

pin

public void pin(java.lang.Object oid)
Specified by:
pin in interface javax.jdo.datastore.DataStoreCache

pinAll

public void pinAll(java.lang.Class clazz,
                   boolean subClasses)
Specified by:
pinAll in interface javax.jdo.datastore.DataStoreCache

pinAll

public void pinAll(java.util.Collection oids)
Specified by:
pinAll in interface javax.jdo.datastore.DataStoreCache

pinAll

public void pinAll(java.lang.Object[] oids)
Specified by:
pinAll in interface javax.jdo.datastore.DataStoreCache

unpin

public void unpin(java.lang.Object oid)
Specified by:
unpin in interface javax.jdo.datastore.DataStoreCache

unpinAll

public void unpinAll(java.lang.Class clazz,
                     boolean subClasses)
Specified by:
unpinAll in interface javax.jdo.datastore.DataStoreCache

unpinAll

public void unpinAll(java.util.Collection oids)
Specified by:
unpinAll in interface javax.jdo.datastore.DataStoreCache

unpinAll

public void unpinAll(java.lang.Object[] oids)
Specified by:
unpinAll in interface javax.jdo.datastore.DataStoreCache

lookup

public ProxyManager lookup()
Description copied from interface: ProxyManagerFactory
Finds in the associated ProxyManagerSwitch a ProxyManager managed by the ProxyManagerFactory.

Specified by:
lookup in interface ProxyManagerFactory
Returns:
a ProxyManager instance or a null value.

bindPM2Thread

public void bindPM2Thread(ProxyManager pm)
Description copied from interface: ProxyManagerFactory
Ask to the PMS to bind a particular PM to the Thread.

Specified by:
bindPM2Thread in interface ProxyManagerFactory
Parameters:
pm -

unbindPM

public void unbindPM()
Description copied from interface: ProxyManagerFactory
It call pms.unbind(this) in order to unbind a ProxyManager managed by this ProxyManagerFactory, from the thread.

Specified by:
unbindPM in interface ProxyManagerFactory

proxyManagerClosed

public void proxyManagerClosed(ProxyManager pr)
Description copied from interface: ProxyManagerFactory
Indicates when a PM has been closed.

Specified by:
proxyManagerClosed in interface ProxyManagerFactory
Parameters:
pr - the closed PM.

getSequenceManager

public SequenceManager getSequenceManager()
Description copied from interface: ProxyManagerFactory
Get the sequence manager associated to the pmf.

Specified by:
getSequenceManager in interface ProxyManagerFactory

setSequenceManager

public void setSequenceManager(SequenceManager sequenceManager)
Description copied from interface: ProxyManagerFactory
Set the sequence manager.

Specified by:
setSequenceManager in interface ProxyManagerFactory

getPersistenceManager

public javax.jdo.PersistenceManager getPersistenceManager()
Get an instance of PersistenceManager from this factory. The instance has default values for options. Invokes init at the first call.

Specified by:
getPersistenceManager in interface javax.jdo.PersistenceManagerFactory
Returns:
a PersistenceManager instance with default options.

close

public void close()
Specified by:
close in interface javax.jdo.PersistenceManagerFactory

getPersistenceManager

public javax.jdo.PersistenceManager getPersistenceManager(java.lang.String userid,
                                                          java.lang.String password)
Get an instance of PersistenceManager from this factory. The instance has default values for options. The parameters userid and password are used when obtaining datastore connections from the connection pool. Invokes init at the first call.

Specified by:
getPersistenceManager in interface javax.jdo.PersistenceManagerFactory
Parameters:
userid - the userid for the connection
password - the password for the connection
Returns:
a PersistenceManager instance with default options.

getPersistenceManager

public javax.jdo.PersistenceManager getPersistenceManager(java.lang.Object cs)

getDataStoreCache

public javax.jdo.datastore.DataStoreCache getDataStoreCache()
Specified by:
getDataStoreCache in interface javax.jdo.PersistenceManagerFactory

isClosed

public boolean isClosed()
Specified by:
isClosed in interface javax.jdo.PersistenceManagerFactory

getMapping

public java.lang.String getMapping()
Specified by:
getMapping in interface javax.jdo.PersistenceManagerFactory

setMapping

public void setMapping(java.lang.String arg0)
Specified by:
setMapping in interface javax.jdo.PersistenceManagerFactory

setConnectionUserName

public void setConnectionUserName(java.lang.String userName)
Set the user name for the data store connection.

Specified by:
setConnectionUserName in interface javax.jdo.PersistenceManagerFactory
Parameters:
userName - the user name for the data store connection.

getConnectionUserName

public java.lang.String getConnectionUserName()
Get the user name for the data store connection.

Specified by:
getConnectionUserName in interface javax.jdo.PersistenceManagerFactory
Returns:
the user name for the data store connection.

setConnectionPassword

public void setConnectionPassword(java.lang.String password)
Set the password for the data store connection.

Specified by:
setConnectionPassword in interface javax.jdo.PersistenceManagerFactory
Parameters:
password - the password for the data store connection.

getConnectionPassword

protected java.lang.String getConnectionPassword()
Get the password for the data store connection.

Returns:
password the password for the data store connection.

setConnectionURL

public void setConnectionURL(java.lang.String URL)
Set the URL for the data store connection.

Specified by:
setConnectionURL in interface javax.jdo.PersistenceManagerFactory
Parameters:
URL - the URL for the data store connection.

getConnectionURL

public java.lang.String getConnectionURL()
Get the URL for the data store connection.

Specified by:
getConnectionURL in interface javax.jdo.PersistenceManagerFactory
Returns:
the URL for the data store connection.

setConnectionDriverName

public void setConnectionDriverName(java.lang.String driverName)
Set the driver name for the data store connection.

Specified by:
setConnectionDriverName in interface javax.jdo.PersistenceManagerFactory
Parameters:
driverName - the driver name for the data store connection.

getConnectionDriverName

public java.lang.String getConnectionDriverName()
Get the driver name for the data store connection.

Specified by:
getConnectionDriverName in interface javax.jdo.PersistenceManagerFactory
Returns:
the driver name for the data store connection.

setConnectionFactoryName

public void setConnectionFactoryName(java.lang.String connectionFactoryName)
Set the name for the data store connection factory.

Specified by:
setConnectionFactoryName in interface javax.jdo.PersistenceManagerFactory
Parameters:
connectionFactoryName - the name of the data store connection factory.

getConnectionFactoryName

public java.lang.String getConnectionFactoryName()
Get the name for the data store connection factory.

Specified by:
getConnectionFactoryName in interface javax.jdo.PersistenceManagerFactory
Returns:
the name of the data store connection factory.

setConnectionFactory

public void setConnectionFactory(java.lang.Object connectionFactory)
Set the data store connection factory. JDO implementations will support specific connection factories. The connection factory interfaces are not part of the JDO specification.

Specified by:
setConnectionFactory in interface javax.jdo.PersistenceManagerFactory
Parameters:
connectionFactory - the data store connection factory.

getConnectionFactory

public java.lang.Object getConnectionFactory()
Get the data store connection factory.

Specified by:
getConnectionFactory in interface javax.jdo.PersistenceManagerFactory
Returns:
the data store connection factory.

setConnectionFactory2Name

public void setConnectionFactory2Name(java.lang.String connectionFactoryName)
Set the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions.

Specified by:
setConnectionFactory2Name in interface javax.jdo.PersistenceManagerFactory
Parameters:
connectionFactoryName - the name of the data store connection factory.

getConnectionFactory2Name

public java.lang.String getConnectionFactory2Name()
Get the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions.

Specified by:
getConnectionFactory2Name in interface javax.jdo.PersistenceManagerFactory
Returns:
the name of the data store connection factory.

setConnectionFactory2

public void setConnectionFactory2(java.lang.Object connectionfactory)
Set the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. JDO implementations will support specific connection factories. The connection factory interfaces are not part of the JDO specification.

Specified by:
setConnectionFactory2 in interface javax.jdo.PersistenceManagerFactory
Parameters:
connectionfactory - the data store connection factory.

getConnectionFactory2

public java.lang.Object getConnectionFactory2()
Get the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions.

Specified by:
getConnectionFactory2 in interface javax.jdo.PersistenceManagerFactory
Returns:
the data store connection factory.

setMultithreaded

public void setMultithreaded(boolean flag)
Set the default Multithreaded setting for all PersistenceManager instances obtained from this factory.

Specified by:
setMultithreaded in interface javax.jdo.PersistenceManagerFactory
Parameters:
flag - the default Multithreaded setting.

getMultithreaded

public boolean getMultithreaded()
Get the default Multithreaded setting for all PersistenceManager instances obtained from this factory.

Specified by:
getMultithreaded in interface javax.jdo.PersistenceManagerFactory
Returns:
the default Multithreaded setting.

setOptimistic

public void setOptimistic(boolean flag)
Set the default Optimistic setting for all PersistenceManager instances obtained from this factory.

Specified by:
setOptimistic in interface javax.jdo.PersistenceManagerFactory
Parameters:
flag - the default Optimistic setting.

getOptimistic

public boolean getOptimistic()
Get the default Optimistic setting for all PersistenceManager instances obtained from this factory.

Specified by:
getOptimistic in interface javax.jdo.PersistenceManagerFactory
Returns:
the default Optimistic setting.

setRetainValues

public void setRetainValues(boolean flag)
Set the default RetainValues setting for all PersistenceManager instances obtained from this factory.

Specified by:
setRetainValues in interface javax.jdo.PersistenceManagerFactory
Parameters:
flag - the default RetainValues setting.

getRetainValues

public boolean getRetainValues()
Get the default RetainValues setting for all PersistenceManager instances obtained from this factory.

Specified by:
getRetainValues in interface javax.jdo.PersistenceManagerFactory
Returns:
the default RetainValues setting.

setNontransactionalRead

public void setNontransactionalRead(boolean flag)
Set the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory.

Specified by:
setNontransactionalRead in interface javax.jdo.PersistenceManagerFactory
Parameters:
flag - the default NontransactionalRead setting.

getNontransactionalRead

public boolean getNontransactionalRead()
Get the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory.

Specified by:
getNontransactionalRead in interface javax.jdo.PersistenceManagerFactory
Returns:
the default NontransactionalRead setting.

setNontransactionalWrite

public void setNontransactionalWrite(boolean flag)
Set the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory.

Specified by:
setNontransactionalWrite in interface javax.jdo.PersistenceManagerFactory
Parameters:
flag - the default NontransactionalWrite setting.

getNontransactionalWrite

public boolean getNontransactionalWrite()
Get the default NontransactionalWrite setting for all PersistenceManager instances obtained from this factory.

Specified by:
getNontransactionalWrite in interface javax.jdo.PersistenceManagerFactory
Returns:
the default NontransactionalWrite setting.

setIgnoreCache

public void setIgnoreCache(boolean flag)
Set the default IgnoreCache setting for all PersistenceManager instances obtained from this factory.

Specified by:
setIgnoreCache in interface javax.jdo.PersistenceManagerFactory
Parameters:
flag - the default IgnoreCache setting.

getIgnoreCache

public boolean getIgnoreCache()
Get the default IgnoreCache setting for all PersistenceManager instances obtained from this factory.

Specified by:
getIgnoreCache in interface javax.jdo.PersistenceManagerFactory
Returns:
the default IngoreCache setting.

getMaxPool

public int getMaxPool()
Get the MaxPool setting for the PersistenceManager pool for this factory.

Returns:
the MaxPool setting.

setMaxPool

public void setMaxPool(int maxPool)
Set the MaxPool setting for the PersistenceManager pool for this factory.

Parameters:
maxPool - the MaxPool setting.

getMinPool

public int getMinPool()
Get the MinPool setting for the PersistenceManager pool for this factory.

Returns:
the MinPool setting.

setMinPool

public void setMinPool(int minPool)
Set the MinPool setting for the PersistenceManager pool for this factory.

Parameters:
minPool - the MinPool setting.

getMsWait

public int getMsWait()
Get the MsWait setting for the PersistenceManager pool for this factory.

Returns:
the MsWait setting.

setMsWait

public void setMsWait(int msWait)
Set the MsWait setting for the PersistenceManager pool for this factory.

Parameters:
msWait - the MsWait setting.

getProperties

public java.util.Properties getProperties()
Return non-configurable properties of this PersistenceManagerFactory. Properties with keys VendorName and VersionNumber are required. Other keys are optional.

Specified by:
getProperties in interface javax.jdo.PersistenceManagerFactory
Returns:
the non-configurable properties of this PersistenceManagerFactory.

supportedOptions

public java.util.Collection supportedOptions()
The application can determine from the results of this method which optional features, and which query languages are supported by the JDO implementation.

Each supported JDO optional feature is represented by a String with one of the following values:

javax.jdo.option.TransientTransactional

javax.jdo.option.NontransactionalRead

javax.jdo.option.NontransactionalWrite

javax.jdo.option.RetainValues

javax.jdo.option.Optimistic

javax.jdo.option.ApplicationIdentity

javax.jdo.option.DatastoreIdentity

javax.jdo.option.NonDatastoreIdentity

javax.jdo.option.ArrayList

javax.jdo.option.HashMap

javax.jdo.option.Hashtable

javax.jdo.option.LinkedList

javax.jdo.option.TreeMap

javax.jdo.option.TreeSet

javax.jdo.option.Vector

javax.jdo.option.Map

javax.jdo.option.List

javax.jdo.option.Array

javax.jdo.option.NullCollection

The standard JDO query language is represented by a String:

javax.jdo.query.JDOQL

Specified by:
supportedOptions in interface javax.jdo.PersistenceManagerFactory
Returns:
the List of String representing the supported Options

setRestoreValues

public void setRestoreValues(boolean b)
Specified by:
setRestoreValues in interface javax.jdo.PersistenceManagerFactory

getRestoreValues

public boolean getRestoreValues()
Specified by:
getRestoreValues in interface javax.jdo.PersistenceManagerFactory

addInstanceLifecycleListener

public void addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener l,
                                         java.lang.Class[] classes)
Specified by:
addInstanceLifecycleListener in interface javax.jdo.PersistenceManagerFactory

removeInstanceLifecycleListener

public void removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener l)
Specified by:
removeInstanceLifecycleListener in interface javax.jdo.PersistenceManagerFactory

getPool

public org.objectweb.perseus.pool.api.Pool getPool()
Returns:
the owned Pool