org.openmdx.base.object
Class PersistenceManagerFactory_2

java.lang.Object
  extended by org.openmdx.base.object.spi.AbstractPersistenceManagerFactory
      extended by org.openmdx.base.object.PersistenceManagerFactory_2
All Implemented Interfaces:
Serializable, PersistenceManagerFactory, CloseCallback

public class PersistenceManagerFactory_2
extends AbstractPersistenceManagerFactory

ManagerFactory

Since:
openMDX 2.0
See Also:
Serialized Form

Method Summary
static PersistenceManagerFactory getPersistenceManagerFactory(Map properties)
          Get instance
protected  PersistenceManager newPersistenceManager(InstanceLifecycleNotifier notifier)
          Create a new persistence manager
protected  PersistenceManager newPersistenceManager(InstanceLifecycleNotifier notifier, String connectionUsername, String connectionPassword)
          Create a new persistence manager
 
Methods inherited from class org.openmdx.base.object.spi.AbstractPersistenceManagerFactory
addInstanceLifecycleListener, close, failIfOpened, getConnectionDriverName, getConnectionFactory, getConnectionFactory2, getConnectionFactory2Name, getConnectionFactoryName, getConnectionURL, getConnectionUserName, getDataStoreCache, getDetachAllOnCommit, getIgnoreCache, getMapping, getMultithreaded, getNontransactionalRead, getNontransactionalWrite, getOptimistic, getPersistenceManager, getPersistenceManager, getProperties, getRestoreValues, getRetainValues, isClosed, open, postClose, removeInstanceLifecycleListener, setConnectionDriverName, setConnectionFactory, setConnectionFactory2, setConnectionFactory2Name, setConnectionFactoryName, setConnectionPassword, setConnectionURL, setConnectionUserName, setDetachAllOnCommit, setIgnoreCache, setMapping, setMultithreaded, setNontransactionalRead, setNontransactionalWrite, setOptimistic, setRestoreValues, setRetainValues, supportedOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPersistenceManagerFactory

public static PersistenceManagerFactory getPersistenceManagerFactory(Map properties)
Get instance

Parameters:
properties -
Returns:
a new instance

newPersistenceManager

protected PersistenceManager newPersistenceManager(InstanceLifecycleNotifier notifier,
                                                   String connectionUsername,
                                                   String connectionPassword)
Create a new persistence manager

The parameters may be kept by the instance.

Specified by:
newPersistenceManager in class AbstractPersistenceManagerFactory
Parameters:
notifier -
connectionUsername -
connectionPassword -
Returns:
a new persistence manager

newPersistenceManager

protected PersistenceManager newPersistenceManager(InstanceLifecycleNotifier notifier)
Description copied from class: AbstractPersistenceManagerFactory
Create a new persistence manager

The parameters may be kept by the instance.

Specified by:
newPersistenceManager in class AbstractPersistenceManagerFactory
Returns:
a new persistence manager


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.