JBoss

JMX MBean View

Back to Agent View Refresh MBean View

MBean description:

Standard Context Component

List of MBean attributes:

Name Type Access Value Description
antiResourceLocking boolean RW True False Take care to not lock resources
loader org.apache.catalina.Loader RW Associated loader.
logger org.apache.commons.logging.Log RW Associated logger.
useNaming boolean RW True False Create a JNDI naming context for this application?
mappingObject java.lang.Object RW The object used for mapping
path java.lang.String RW The context path for this Context
children [Ljavax.management.ObjectName; RW Object names of all children
state int RW Current state of this component
managedResource java.lang.Object RW The managed resource this MBean is associated with
unloadDelay long RW Amount of ms that the container will wait for servlets to unload
cacheTTL int RW Time interval in ms between cache refeshes
valveObjectNames [Ljavax.management.ObjectName; R
jboss.web:type=Valve,name=JaccContextValve,path=/jexws4,host=localhost
jboss.web:type=Valve,name=SecurityAssociationValve,path=/jexws4,host=localhost
jboss.web:type=Valve,name=StandardContextValve,path=/jexws4,host=localhost
ObjectNames for the valves associated with this container
caseSensitive boolean RW True False Should case sensitivity checks be performed
configClass java.lang.String RW The class name of the context configurator
processingTime long R 0 Cumulative execution times of all servlets in this context
saveConfig boolean RW True False Should the configuration be written as needed on startup
privileged boolean RW True False Access to tomcat internals
annotationProcessor org.apache.AnnotationProcessor RW Object that processes things like injection annotations
altDDName java.lang.String RW The alternate deployment descriptor name
deploymentDescriptor java.lang.String RW String deployment descriptor
engineName java.lang.String RW Name of the engine domain, if different from the context domain
javaVMs [Ljava.lang.String; RW The Java virtual machines on which this module is running
server java.lang.String RW The J2EE Server this module is deployed on
stateManageable boolean RW True False State management support for this managed object
statisticsProvider boolean RW True False Performance statistics support for this managed object
docBase java.lang.String RW The document root for this web application
modelerType java.lang.String R org.apache.catalina.core.StandardContext Type of the modeled resource. Can be set only once
defaultWebXml java.lang.String RW Location of the default web.xml resource or file
reloadable boolean RW True False The reloadable flag for this web application
parentClassLoader java.lang.ClassLoader RW Parent class loader.
cacheMaxSize int RW Maximum cache size in KB
cookies boolean RW True False Should we attempt to use cookies for session id communication?
delegate boolean RW True False (no description)
compilerClasspath java.lang.String RW The compiler classpath to use
swallowOutput boolean RW True False Flag to set to cause the system.out and system.err to be redirected to the logger when executing a servlet
configFile java.lang.String RW Location of the context.xml resource or file
startTime long RW Time (in milliseconds since January 1, 1970, 00:00:00) when this context was started
override boolean RW True False The DefaultContext override flag for this web application
workDir java.lang.String RW The pathname to the work directory for this context
manager org.apache.catalina.Manager RW Associated manager.
cachingAllowed boolean RW True False Should we cache static resources for this webapp
namingContextListener org.apache.catalina.core.NamingContextListener RW Associated naming context listener.
tldScanTime long RW Time spend scanning jars for TLDs for this context
startupTime long RW Time (in milliseconds) it took to start this context
staticResources javax.naming.directory.DirContext R org.apache.naming.resources.ProxyDirContext@6f264a3c Static resources associated with the context.
eventProvider boolean RW True False Event provider support for this managed object
antiJARLocking boolean RW True False Take care to not lock jar files
crossContext boolean RW True False Should we allow the ServletContext.getContext() method to access the context of other web applications in this server?
servlets [Ljava.lang.String; R
jboss.web:j2eeType=Servlet,name=default,WebModule=//localhost/jexws4,J2EEApplication=none,J2EEServer=none
jboss.web:j2eeType=Servlet,name=jsp,WebModule=//localhost/jexws4,J2EEApplication=none,J2EEServer=none
JSR77 list of servlets
objectName java.lang.String RW Name of the object
allowLinking boolean RW True False Allow symlinking to outside the webapp root directory, if the webapp is an exploded directory
realm org.apache.catalina.Realm RW Associated realm.
welcomeFiles [Ljava.lang.String; R
index.html
index.htm
index.jsp
The welcome files for this context
defaultContextXml java.lang.String RW Location of the default context.xml resource or file

List of MBean operations:


void addValve()

Add a valve to this Context

Param ParamType ParamValue ParamDescription
valve org.apache.catalina.Valve New valve to be added

void init()

Register the context into the running server


void reload()

Reload the webapplication


void stop()

Stop the context


javax.naming.directory.DirContext findStaticResources()

Return the naming resources associated with this web application


void removeValve()

Remove a valve from this Context

Param ParamType ParamValue ParamDescription
valve org.apache.catalina.Valve New valve to be removed

void start()

Start the context


void destroy()

Destroy the context


void removeLifecycleListener()

Remove a lifecycle listener from this Context

Param ParamType ParamValue ParamDescription
listener org.apache.catalina.LifecycleListener New lifecycle listener to be removed

org.apache.catalina.Context findMappingObject()

Return an object which may be utilized for mapping to this component


void addLifecycleListener()

Add a lifecycle listener to this Context

Param ParamType ParamValue ParamDescription
listener org.apache.catalina.LifecycleListener New lifecycle listener to be added