|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.web.TomcatDeploymentConfig
public class TomcatDeploymentConfig
This class decorates all com.sun.enterprise.deployment.*
objects in order to make them usuable by the Catalina container.
This avoid having duplicate memory representation of the web.xml (as well
as parsing the web.xml twice)
| Constructor Summary | |
|---|---|
TomcatDeploymentConfig()
|
|
| Method Summary | |
|---|---|
protected static void |
configureApplicationListener(WebModule webModule,
WebBundleDescriptor wmd)
Configure context initialization parameter that is configured in the server configuration file, rather than the application deployment descriptor. |
protected static void |
configureContextEjb(WebModule webModule,
EjbReferenceDescriptor ejbDescriptor)
Configures EJB resource reference for a web application, as represented in a <ejb-local-ref>element in the
deployment descriptor. |
protected static void |
configureContextEnvironment(WebModule webModule,
WebBundleDescriptor wmd)
Configure application environment entry, as represented by an <env-entry> element in the deployment descriptor. |
protected static void |
configureContextLocalEjb(WebModule webModule,
EjbReferenceDescriptor ejbDescriptor)
Configures EJB resource reference for a web application, as represented in a <ejb-ref> in the
deployment descriptor. |
protected static void |
configureContextParam(WebModule webModule,
WebBundleDescriptor wmd)
Configure context parameter defined in the deployment descriptor. |
protected static void |
configureContextResource(WebModule webModule,
WebBundleDescriptor wmd)
Configure a resource reference for a web application, as represented in a <resource-ref> element in the
deployment descriptor. |
protected static void |
configureEjbReference(WebModule webModule,
WebBundleDescriptor wmd)
Configures EJB resource reference for a web application, as represented in a <ejb-ref> and
<ejb-local-ref>element in the
deployment descriptor. |
protected static void |
configureErrorPage(WebModule webModule,
WebBundleDescriptor wmd)
Configure error page element for a web application, as represented by a <error-page> element in the
deployment descriptor. |
protected static void |
configureFilterDef(WebModule webModule,
WebBundleDescriptor wmd)
Configure filter definition for a web application, as represented by a <filter> element in the deployment descriptor. |
protected static void |
configureFilterMap(WebModule webModule,
WebBundleDescriptor wmd)
Configure filter mapping for a web application, as represented by a <filter-mapping> element in the deployment
descriptor. |
protected static void |
configureJspConfig(WebModule webModule,
WebBundleDescriptor wmd)
Configure jsp-config element contained in the deployment
descriptor |
protected static void |
configureLoginConfig(WebModule webModule,
WebBundleDescriptor wmd)
Configure a login configuration element for a web application, as represented by a <login-config> element in the
deployment descriptor. |
protected static void |
configureMessageDestination(WebModule webModule,
WebBundleDescriptor wmd)
Configure of a message destination for a web application, as represented in a <message-destination> element
in the deployment descriptor. |
protected static void |
configureMessageDestinationRef(WebModule webModule,
WebBundleDescriptor wmd)
Representation of a message destination reference for a web application, as represented by a <message-destination-ref> element
in the deployment descriptor. |
protected static void |
configureMimeMapping(WebModule webModule,
WebBundleDescriptor wmd)
Configure mime-mapping defined in the deployment descriptor. |
protected static void |
configureResourceRef(WebModule webModule,
WebBundleDescriptor wmd)
Configure resource-reference defined in the deployment descriptor. |
protected static void |
configureSecurityConstraint(WebModule webModule,
WebBundleDescriptor wmd)
Configure security constraint element for a web application, as represented by a <security-constraint> element in
the deployment descriptor. |
protected static void |
configureSecurityRoles(WebModule webModule,
WebBundleDescriptor wmd)
Validate the usage of security role names in the web application deployment descriptor. |
protected static void |
configureStandardContext(WebModule webModule,
WebBundleDescriptor wmd)
Configure the WebModule instance by creating
StandardWrapper using the information contained
in the deployment descriptor (Welcome Files, JSP, Servlets etc.) |
static void |
configureWebModule(WebModule webModule,
WebBundleDescriptor webModuleDescriptor)
Configure a WebModule by applying web.xml information
contained in WebBundleDescriptor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TomcatDeploymentConfig()
| Method Detail |
|---|
public static void configureWebModule(WebModule webModule,
WebBundleDescriptor webModuleDescriptor)
throws LifecycleException
WebModule by applying web.xml information
contained in WebBundleDescriptor. This astatic void calling
Tomcat 5 internal deployment mechanism by re-using the DOL objects.
LifecycleException
protected static void configureEjbReference(WebModule webModule,
WebBundleDescriptor wmd)
<ejb-ref> and
<ejb-local-ref>element in the
deployment descriptor.
protected static void configureContextLocalEjb(WebModule webModule,
EjbReferenceDescriptor ejbDescriptor)
<ejb-ref> in the
deployment descriptor.
protected static void configureContextEjb(WebModule webModule,
EjbReferenceDescriptor ejbDescriptor)
<ejb-local-ref>element in the
deployment descriptor.
protected static void configureContextEnvironment(WebModule webModule,
WebBundleDescriptor wmd)
<env-entry> element in the deployment descriptor.
protected static void configureErrorPage(WebModule webModule,
WebBundleDescriptor wmd)
<error-page> element in the
deployment descriptor.
protected static void configureFilterDef(WebModule webModule,
WebBundleDescriptor wmd)
<filter> element in the deployment descriptor.
protected static void configureFilterMap(WebModule webModule,
WebBundleDescriptor wmd)
<filter-mapping> element in the deployment
descriptor. Each filter mapping must contain a filter name plus either
a URL pattern or a servlet name.
protected static void configureApplicationListener(WebModule webModule,
WebBundleDescriptor wmd)
protected static void configureJspConfig(WebModule webModule,
WebBundleDescriptor wmd)
jsp-config element contained in the deployment
descriptor
protected static void configureLoginConfig(WebModule webModule,
WebBundleDescriptor wmd)
<login-config> element in the
deployment descriptor.
protected static void configureMimeMapping(WebModule webModule,
WebBundleDescriptor wmd)
protected static void configureResourceRef(WebModule webModule,
WebBundleDescriptor wmd)
protected static void configureContextParam(WebModule webModule,
WebBundleDescriptor wmd)
protected static void configureMessageDestination(WebModule webModule,
WebBundleDescriptor wmd)
<message-destination> element
in the deployment descriptor.
protected static void configureMessageDestinationRef(WebModule webModule,
WebBundleDescriptor wmd)
<message-destination-ref> element
in the deployment descriptor.
protected static void configureContextResource(WebModule webModule,
WebBundleDescriptor wmd)
<resource-ref> element in the
deployment descriptor.
protected static void configureStandardContext(WebModule webModule,
WebBundleDescriptor wmd)
WebModule instance by creating
StandardWrapper using the information contained
in the deployment descriptor (Welcome Files, JSP, Servlets etc.)
protected static void configureSecurityConstraint(WebModule webModule,
WebBundleDescriptor wmd)
<security-constraint> element in
the deployment descriptor.
Configure a web resource collection for a web application's security
constraint, as represented by a
<web-resource-collection>
element in the deployment descriptor.
protected static void configureSecurityRoles(WebModule webModule,
WebBundleDescriptor wmd)
ok
instance variable to false as well).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||