org.apache.geronimo.j2ee.deployment
Class SwitchingModuleBuilder

java.lang.Object
  extended by org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder
All Implemented Interfaces:
ModuleBuilder

public class SwitchingModuleBuilder
extends Object
implements ModuleBuilder


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
SwitchingModuleBuilder(Collection builders)
           
 
Method Summary
 void addGBeans(EARContext earContext, Module module, ClassLoader cl, Collection repositories)
           
 Module createModule(File plan, JarFile moduleFile, Naming naming, ModuleIDBuilder idBuilder)
           
 Module createModule(Object plan, JarFile moduleFile, String targetPath, URL specDDUrl, Environment environment, Object moduleContextInfo, AbstractName earName, Naming naming, ModuleIDBuilder idBuilder)
           
 String getDefaultNamespace()
           
static GBeanInfo getGBeanInfo()
           
 String getSchemaNamespace()
           
 void initContext(EARContext earContext, Module module, ClassLoader cl)
           
 void installModule(JarFile earFile, EARContext earContext, Module module, Collection configurationStores, ConfigurationStore targetConfigurationStore, Collection repositories)
           
 void setDefaultNamespace(String defaultNamespace)
           
 
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

SwitchingModuleBuilder

public SwitchingModuleBuilder(Collection builders)
Method Detail

getDefaultNamespace

public String getDefaultNamespace()

setDefaultNamespace

public void setDefaultNamespace(String defaultNamespace)

createModule

public Module createModule(File plan,
                           JarFile moduleFile,
                           Naming naming,
                           ModuleIDBuilder idBuilder)
                    throws DeploymentException
Specified by:
createModule in interface ModuleBuilder
Throws:
DeploymentException

createModule

public Module createModule(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 ModuleBuilder
Throws:
DeploymentException

installModule

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

initContext

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

addGBeans

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

getSchemaNamespace

public String getSchemaNamespace()
Specified by:
getSchemaNamespace in interface ModuleBuilder

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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