org.apache.geronimo.tomcat.deployment
Class TomcatModuleBuilder
java.lang.Object
org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder
- All Implemented Interfaces:
- GBeanLifecycle, ModuleBuilder
public class TomcatModuleBuilder
- extends AbstractWebModuleBuilder
- implements GBeanLifecycle
Fields inherited from class org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder |
ENTITY_BEAN_PATTERN, kernel, MANAGED_CONNECTION_FACTORY_PATTERN, moduleBuilderExtensions, namingBuilders, resourceEnvironmentSetter, securityBuilders, serviceBuilders, STATEFUL_SESSION_BEAN_PATTERN, STATELESS_SESSION_BEAN_PATTERN, webServiceBuilder |
Method Summary |
void |
addGBeans(EARContext earContext,
Module module,
ClassLoader cl,
Collection repository)
|
protected Module |
createModule(Object plan,
JarFile moduleFile,
String targetPath,
URL specDDUrl,
boolean standAlone,
String contextRoot,
AbstractName earName,
Naming naming,
ModuleIDBuilder idBuilder)
|
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
static GBeanInfo |
getGBeanInfo()
|
String |
getSchemaNamespace()
|
void |
initContext(EARContext earContext,
Module module,
ClassLoader cl)
|
Methods inherited from class org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder |
addGBeanDependencies, addPermissionToRole, addUnmappedJSPPermissions, basicInitContext, buildServletNameToPathMap, buildSpecSecurityConfig, check, checkString, collectRoleNames, configureBasicWebModuleAttributes, convertToServletSchema, createModule, createModule, createWebAppClassFinder, createWebAppClassFinder, determineDefaultContextRoot, getNamingBuilders, installModule, processRoleRefPermissions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clusteringBuilders
protected final NamespaceDrivenBuilderCollection clusteringBuilders
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
GBEAN_REF_CLUSTERING_BUILDERS
public static final String GBEAN_REF_CLUSTERING_BUILDERS
- See Also:
- Constant Field Values
TomcatModuleBuilder
public TomcatModuleBuilder(Environment defaultEnvironment,
AbstractNameQuery tomcatContainerName,
Collection<WebServiceBuilder> webServiceBuilder,
Collection securityBuilders,
Collection serviceBuilders,
NamingBuilder namingBuilders,
Collection<NamespaceDrivenBuilder> clusteringBuilders,
Collection<ModuleBuilderExtension> moduleBuilderExtensions,
ResourceEnvironmentSetter resourceEnvironmentSetter,
Kernel kernel)
doStart
public void doStart()
throws Exception
- Description copied from interface:
GBeanLifecycle
- Starts the GBean. This informs the GBean that it is about to transition to the running state.
- Specified by:
doStart
in interface GBeanLifecycle
- Throws:
Exception
- if the target failed to start; this will cause a transition to the failed state
doStop
public void doStop()
- Description copied from interface:
GBeanLifecycle
- Stops the target. This informs the GBean that it is about to transition to the stopped state.
- Specified by:
doStop
in interface GBeanLifecycle
doFail
public void doFail()
- Description copied from interface:
GBeanLifecycle
- Fails the GBean. This informs the GBean that it is about to transition to the failed state.
- Specified by:
doFail
in interface GBeanLifecycle
createModule
protected Module createModule(Object plan,
JarFile moduleFile,
String targetPath,
URL specDDUrl,
boolean standAlone,
String contextRoot,
AbstractName earName,
Naming naming,
ModuleIDBuilder idBuilder)
throws DeploymentException
- Specified by:
createModule
in class AbstractWebModuleBuilder
- 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 repository)
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.