org.apache.geronimo.j2ee.deployment
Class SwitchingModuleBuilder
java.lang.Object
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder
- All Implemented Interfaces:
- ModuleBuilder
public class SwitchingModuleBuilder
- extends Object
- implements ModuleBuilder
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Method Summary |
void |
addGBeans(EARContext earContext,
Module module,
ClassLoader cl,
Collection repositories)
|
Module |
createModule(File plan,
JarFile moduleFile,
org.apache.geronimo.kernel.Naming naming,
org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
|
Module |
createModule(Object plan,
JarFile moduleFile,
String targetPath,
URL specDDUrl,
org.apache.geronimo.kernel.repository.Environment environment,
Object moduleContextInfo,
org.apache.geronimo.gbean.AbstractName earName,
org.apache.geronimo.kernel.Naming naming,
org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
|
String |
getDefaultNamespace()
|
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
String |
getSchemaNamespace()
|
void |
initContext(EARContext earContext,
Module module,
ClassLoader cl)
|
void |
installModule(JarFile earFile,
EARContext earContext,
Module module,
Collection configurationStores,
org.apache.geronimo.kernel.config.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 |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
SwitchingModuleBuilder
public SwitchingModuleBuilder(Collection builders)
getDefaultNamespace
public String getDefaultNamespace()
setDefaultNamespace
public void setDefaultNamespace(String defaultNamespace)
createModule
public Module createModule(File plan,
JarFile moduleFile,
org.apache.geronimo.kernel.Naming naming,
org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
throws org.apache.geronimo.common.DeploymentException
- Specified by:
createModule
in interface ModuleBuilder
- Throws:
org.apache.geronimo.common.DeploymentException
createModule
public Module createModule(Object plan,
JarFile moduleFile,
String targetPath,
URL specDDUrl,
org.apache.geronimo.kernel.repository.Environment environment,
Object moduleContextInfo,
org.apache.geronimo.gbean.AbstractName earName,
org.apache.geronimo.kernel.Naming naming,
org.apache.geronimo.deployment.ModuleIDBuilder idBuilder)
throws org.apache.geronimo.common.DeploymentException
- Specified by:
createModule
in interface ModuleBuilder
- Throws:
org.apache.geronimo.common.DeploymentException
installModule
public void installModule(JarFile earFile,
EARContext earContext,
Module module,
Collection configurationStores,
org.apache.geronimo.kernel.config.ConfigurationStore targetConfigurationStore,
Collection repositories)
throws org.apache.geronimo.common.DeploymentException
- Specified by:
installModule
in interface ModuleBuilder
- Throws:
org.apache.geronimo.common.DeploymentException
initContext
public void initContext(EARContext earContext,
Module module,
ClassLoader cl)
throws org.apache.geronimo.common.DeploymentException
- Specified by:
initContext
in interface ModuleBuilder
- Throws:
org.apache.geronimo.common.DeploymentException
addGBeans
public void addGBeans(EARContext earContext,
Module module,
ClassLoader cl,
Collection repositories)
throws org.apache.geronimo.common.DeploymentException
- Specified by:
addGBeans
in interface ModuleBuilder
- Throws:
org.apache.geronimo.common.DeploymentException
getSchemaNamespace
public String getSchemaNamespace()
- Specified by:
getSchemaNamespace
in interface ModuleBuilder
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.