|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.catalina.startup.ContextConfig
com.sun.enterprise.web.WebModuleContextConfig
public class WebModuleContextConfig
Startup event listener for a Context that configures the properties of that Context, and the associated defined servlets.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.catalina.startup.ContextConfig |
|---|
ContextConfig.ContextErrorHandler |
| Field Summary | |
|---|---|
static int |
APPLICATION_LISTENERS
|
static int |
APPLICATION_PARAMETERS
|
static int |
CHILDREN
|
static int |
EJBS
|
static int |
ENVIRONMENTS
|
static int |
ERROR_PAGES
|
protected java.io.File |
file
The File reffering to the default-web.xml |
static int |
FILTER_DEFS
|
static int |
FILTER_MAPS
|
protected org.jvnet.hk2.component.Habitat |
habitat
|
static int |
LOCAL_EJBS
|
static int |
MESSAGE_DESTINATION_REFS
|
static int |
MESSAGE_DESTINATIONS
|
static int |
MIME_MAPPINGS
|
protected static java.util.ResourceBundle |
rb
|
static int |
RESOURCES
|
static int |
SERVLET_MAPPINGS
|
| Fields inherited from class org.apache.catalina.startup.ContextConfig |
|---|
authenticators, context, contextDigester, customAuthenticators, defaultContextXml, defaultWebXml, ok, parseException, webDigester, webRuleSet |
| Constructor Summary | |
|---|---|
WebModuleContextConfig()
Customized ContextConfig which use the DOL for deployment. |
|
| Method Summary | |
|---|---|
protected void |
authenticatorConfig()
Always sets up an Authenticator regardless of any security constraints. |
protected void |
configureResource()
|
protected void |
defaultConfig()
Process the default configuration file, if it exists. |
WebBundleDescriptor |
getDescriptor()
Return the WebBundleDescriptor |
void |
lifecycleEvent(LifecycleEvent event)
Process the START event for an associated Context. |
void |
setDescriptor(WebBundleDescriptor wbd)
Set the DOL object associated with this class. |
void |
setHabitat(org.jvnet.hk2.component.Habitat habitat)
Set the DOL object associated with this class. |
protected void |
start()
Process a "start" event for this Context - in background |
protected void |
stop()
Process a "stop" event for this Context. |
| Methods inherited from class org.apache.catalina.startup.ContextConfig |
|---|
applicationConfig, contextConfig, createContextDigester, createWebDigester, createWebXmlDigester, fixDocBase, getBaseDir, getDebug, getDefaultContextXml, getDefaultWebXml, init, managerConfig, processContextConfig, setCustomAuthenticators, setDebug, setDefaultContextXml, setDefaultWebXml, validateSecurityRoles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.ResourceBundle rb
public static final int CHILDREN
public static final int SERVLET_MAPPINGS
public static final int LOCAL_EJBS
public static final int EJBS
public static final int ENVIRONMENTS
public static final int ERROR_PAGES
public static final int FILTER_DEFS
public static final int FILTER_MAPS
public static final int APPLICATION_LISTENERS
public static final int RESOURCES
public static final int APPLICATION_PARAMETERS
public static final int MESSAGE_DESTINATIONS
public static final int MESSAGE_DESTINATION_REFS
public static final int MIME_MAPPINGS
protected org.jvnet.hk2.component.Habitat habitat
protected java.io.File file
File reffering to the default-web.xml
| Constructor Detail |
|---|
public WebModuleContextConfig()
ContextConfig which use the DOL for deployment.
| Method Detail |
|---|
public void setDescriptor(WebBundleDescriptor wbd)
public WebBundleDescriptor getDescriptor()
public void setHabitat(org.jvnet.hk2.component.Habitat habitat)
public void lifecycleEvent(LifecycleEvent event)
throws LifecycleException
lifecycleEvent in interface LifecycleListenerlifecycleEvent in class ContextConfigevent - The lifecycle event that has occurred
LifecycleException
protected void configureResource()
throws LifecycleException
LifecycleException
protected void start()
throws LifecycleException
start in class ContextConfigLifecycleException
protected void authenticatorConfig()
throws LifecycleException
authenticatorConfig in class ContextConfigLifecycleExceptionprotected void defaultConfig()
defaultConfig in class ContextConfigprotected void stop()
stop in class ContextConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||