org.tynamo.jdo.internal
Class JDOPersistenceManagerSourceImpl

java.lang.Object
  extended by org.tynamo.jdo.internal.JDOPersistenceManagerSourceImpl
All Implemented Interfaces:
JDOPersistenceManagerSource

public class JDOPersistenceManagerSourceImpl
extends Object
implements JDOPersistenceManagerSource


Constructor Summary
JDOPersistenceManagerSourceImpl(org.slf4j.Logger logger, String pmfName)
           
 
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 listenForShutdown(org.apache.tapestry5.ioc.services.RegistryShutdownHub hub)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOPersistenceManagerSourceImpl

public JDOPersistenceManagerSourceImpl(org.slf4j.Logger logger,
                                       String pmfName)
Method Detail

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

listenForShutdown

@PostInjection
public void listenForShutdown(org.apache.tapestry5.ioc.services.RegistryShutdownHub hub)


Copyright © 2011-2012. All Rights Reserved.