org.tynamo.jdo.internal
Class JDOPersistenceManagerSourceImpl
java.lang.Object
org.tynamo.jdo.internal.JDOPersistenceManagerSourceImpl
- All Implemented Interfaces:
- EventListener, org.apache.tapestry5.ioc.services.RegistryShutdownListener, JDOPersistenceManagerSource
public class JDOPersistenceManagerSourceImpl
- extends Object
- implements JDOPersistenceManagerSource, org.apache.tapestry5.ioc.services.RegistryShutdownListener
|
Method Summary |
javax.jdo.PersistenceManager |
create()
Creates a new persistence manager using the {@link #getPersistenceManagerFactory()
created at service startup. |
javax.jdo.PersistenceManagerFactory |
getPersistenceManagerFactory()
Returns the PersistenceManagerFactory from which JDO entity managers are
created. |
void |
registryDidShutdown()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDOPersistenceManagerSourceImpl
public JDOPersistenceManagerSourceImpl(org.slf4j.Logger logger,
String pmfName)
create
public javax.jdo.PersistenceManager create()
- Description copied from interface:
JDOPersistenceManagerSource
- Creates a new persistence manager using the {@link #getPersistenceManagerFactory()
created at service startup.
- Specified by:
create in interface JDOPersistenceManagerSource
getPersistenceManagerFactory
public javax.jdo.PersistenceManagerFactory getPersistenceManagerFactory()
- Description copied from interface:
JDOPersistenceManagerSource
- Returns the PersistenceManagerFactory from which JDO entity managers are
created.
- Specified by:
getPersistenceManagerFactory in interface JDOPersistenceManagerSource
registryDidShutdown
public void registryDidShutdown()
- Specified by:
registryDidShutdown in interface org.apache.tapestry5.ioc.services.RegistryShutdownListener
Copyright © 2011-2012. All Rights Reserved.