org.apache.geronimo.persistence.builder
Class PersistenceUnitBuilder

java.lang.Object
  extended by org.apache.geronimo.persistence.builder.PersistenceUnitBuilder
All Implemented Interfaces:
ModuleBuilderExtension

public class PersistenceUnitBuilder
extends Object
implements ModuleBuilderExtension


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
PersistenceUnitBuilder(Environment defaultEnvironment, String defaultPersistenceProviderClassName, String defaultJtaDataSourceName, String defaultNonJtaDataSourceName, AbstractNameQuery extendedEntityManagerRegistryName, Properties defaultPersistenceUnitProperties)
           
 
Method Summary
 void addGBeans(EARContext earContext, Module module, ClassLoader cl, Collection repository)
           
 void createModule(Module module, Object plan, JarFile moduleFile, String targetPath, URL specDDUrl, Environment environment, Object moduleContextInfo, AbstractName earName, Naming naming, ModuleIDBuilder idBuilder)
           
static GBeanInfo getGBeanInfo()
           
 org.apache.xmlbeans.QNameSet getPlanQNameSet()
           
 org.apache.xmlbeans.QNameSet getSpecQNameSet()
           
 void initContext(EARContext earContext, Module module, ClassLoader cl)
           
 void installModule(JarFile earFile, EARContext earContext, Module module, Collection configurationStores, ConfigurationStore targetConfigurationStore, Collection repository)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

PersistenceUnitBuilder

public PersistenceUnitBuilder(Environment defaultEnvironment,
                              String defaultPersistenceProviderClassName,
                              String defaultJtaDataSourceName,
                              String defaultNonJtaDataSourceName,
                              AbstractNameQuery extendedEntityManagerRegistryName,
                              Properties defaultPersistenceUnitProperties)
                       throws URISyntaxException
Throws:
URISyntaxException
Method Detail

createModule

public void createModule(Module module,
                         Object plan,
                         JarFile moduleFile,
                         String targetPath,
                         URL specDDUrl,
                         Environment environment,
                         Object moduleContextInfo,
                         AbstractName earName,
                         Naming naming,
                         ModuleIDBuilder idBuilder)
                  throws DeploymentException
Specified by:
createModule in interface ModuleBuilderExtension
Throws:
DeploymentException

installModule

public void installModule(JarFile earFile,
                          EARContext earContext,
                          Module module,
                          Collection configurationStores,
                          ConfigurationStore targetConfigurationStore,
                          Collection repository)
                   throws DeploymentException
Specified by:
installModule in interface ModuleBuilderExtension
Throws:
DeploymentException

initContext

public void initContext(EARContext earContext,
                        Module module,
                        ClassLoader cl)
                 throws DeploymentException
Specified by:
initContext in interface ModuleBuilderExtension
Throws:
DeploymentException

addGBeans

public void addGBeans(EARContext earContext,
                      Module module,
                      ClassLoader cl,
                      Collection repository)
               throws DeploymentException
Specified by:
addGBeans in interface ModuleBuilderExtension
Throws:
DeploymentException

getSpecQNameSet

public org.apache.xmlbeans.QNameSet getSpecQNameSet()

getPlanQNameSet

public org.apache.xmlbeans.QNameSet getPlanQNameSet()

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.