com.sas.framework.expojo.jdo
Class JdoPersistenceProviderFactory

java.lang.Object
  extended by com.sas.framework.expojo.PersistenceProviderFactory
      extended by com.sas.framework.expojo.jdo.JdoPersistenceProviderFactory
Direct Known Subclasses:
JpoxJdoPersistenceProviderFactory, KodoJdoPersistenceProviderFactory

public abstract class JdoPersistenceProviderFactory
extends PersistenceProviderFactory

A factory that produces JdoPersistenceProviders. Typically this can be shared by many threads in the same application.


Field Summary
protected  PersistenceManagerFactory pmf
          A JDO PersistenceManagerFactory.
 
Fields inherited from class com.sas.framework.expojo.PersistenceProviderFactory
testDb
 
Constructor Summary
JdoPersistenceProviderFactory()
           
 
Method Summary
 void close()
          Describe here
 PersistenceManagerFactory createPersistenceManagerFactory()
          Creates a persistence manager factory which can produce persistence managers.
 PersistenceProvider createPersistenceProvider()
          Overridden in derived classes to provide PersistenceProvider appropriate to the persistence technology used.
abstract  java.lang.String getPropertiesFilename()
          Returns the name of the properties file used for configuring the JDO datastore.
 
Methods inherited from class com.sas.framework.expojo.PersistenceProviderFactory
isTestDb
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pmf

protected transient PersistenceManagerFactory pmf
A JDO PersistenceManagerFactory.

Constructor Detail

JdoPersistenceProviderFactory

public JdoPersistenceProviderFactory()
Method Detail

close

public void close()
Describe here

Overrides:
close in class PersistenceProviderFactory

getPropertiesFilename

public abstract java.lang.String getPropertiesFilename()
Returns the name of the properties file used for configuring the JDO datastore.


createPersistenceManagerFactory

public PersistenceManagerFactory createPersistenceManagerFactory()
                                                          throws java.io.IOException
Creates a persistence manager factory which can produce persistence managers.

Throws:
java.io.IOException

createPersistenceProvider

public PersistenceProvider createPersistenceProvider()
Overridden in derived classes to provide PersistenceProvider appropriate to the persistence technology used.

Specified by:
createPersistenceProvider in class PersistenceProviderFactory