org.jomc.standalone.ri.naming.support
Class AbstractJPAContextFactory

Package class diagram package AbstractJPAContextFactory
java.lang.Object
  extended by org.jomc.standalone.ri.naming.support.AbstractContextFactory
      extended by org.jomc.standalone.ri.naming.support.AbstractJPAContextFactory
All Implemented Interfaces:
InitialContextFactory
Direct Known Subclasses:
HibernateContextFactory, OpenJPAContextFactory, TopLinkContextFactory

@Generated(value="org.jomc.tools.SourceFileProcessor 1.0",
           comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools")
public abstract class AbstractJPAContextFactory
extends AbstractContextFactory

Base JPA context factory.

Specifications

Version:
$Id: AbstractJPAContextFactory.java 2242 2010-06-29 07:54:56Z schulte2005 $
Author:
Christian Schulte 1.0

Constructor Summary
Constructor and Description
AbstractJPAContextFactory()
          Creates a new AbstractJPAContextFactory instance.
 
Method Summary
Modifier and Type Method and Description
 Context getInitialContext(Hashtable<?,?> environment)
           
protected abstract  javax.persistence.spi.PersistenceProvider getPersistenceProvider()
           
protected  javax.persistence.spi.PersistenceUnitInfo getPersistenceUnitInfo()
           
 
Methods inherited from class org.jomc.standalone.ri.naming.support.AbstractContextFactory
getStandaloneContext, getStandaloneEnvironment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJPAContextFactory

@Generated(value="org.jomc.tools.SourceFileProcessor 1.0",
           comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools")
public AbstractJPAContextFactory()
Creates a new AbstractJPAContextFactory instance.

Method Detail

getInitialContext

public final Context getInitialContext(Hashtable<?,?> environment)
                                throws NamingException
Throws:
NamingException

getPersistenceProvider

protected abstract javax.persistence.spi.PersistenceProvider getPersistenceProvider()

getPersistenceUnitInfo

protected javax.persistence.spi.PersistenceUnitInfo getPersistenceUnitInfo()


Copyright © 2005-2010 The JOMC Project. All Rights Reserved.