org.tynamo.jdo
Interface JDOPersistenceManagerSource

All Known Implementing Classes:
JDOPersistenceManagerSourceImpl

public interface JDOPersistenceManagerSource

Responsible for creating an PersistenceManager as needed. Internally, is responsible for PersistenceUnit Configuration, resulting in a PersistenceManagerFactory.

The service's configuration is a chain of command of configurator objects.


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.
 

Method Detail

create

javax.jdo.PersistenceManager create()
Creates a new persistence manager using the {@link #getPersistenceManagerFactory() created at service startup.


getPersistenceManagerFactory

javax.jdo.PersistenceManagerFactory getPersistenceManagerFactory()
Returns the PersistenceManagerFactory from which JDO entity managers are created.



Copyright © 2011-2012. All Rights Reserved.