JMX MBean View

647c07faf5bd

Fri Apr 19 02:13:05 UTC 2024
 
NameDomainjboss.web
name//localhost/jbossws
J2EEServernone
J2EEApplicationnone
j2eeTypeWebModule
Java Classorg.apache.tomcat.util.modeler.BaseModelMBean
DescriptionStandard Context Component

Attribute Name Access Type Description Attribute Value
saveConfig RW boolean Should the configuration be written as needed on startup
TrueFalse    
managedResource RW java.lang.Object The managed resource this MBean is associated with
    
manager RW org.apache.catalina.Manager Associated manager.
    
cacheTTL RW int Time interval in ms between cache refeshes
    
engineName RW java.lang.String Name of the engine domain, if different from the context domain
    
startTime RW long Time (in milliseconds since January 1, 1970, 00:00:00) when this context was started
    
configFile RW java.lang.String Location of the context.xml resource or file
    
realm RW org.apache.catalina.Realm Associated realm.
    
staticResources R javax.naming.directory.DirContext Static resources associated with the context.
org.apache.naming.resources.ProxyDirContext@7e45c66a    
antiJARLocking RW boolean Take care to not lock jar files
TrueFalse    
stateManageable RW boolean State management support for this managed object
TrueFalse    
compilerClasspath RW java.lang.String The compiler classpath to use
    
instanceManager RW org.apache.catalina.instanceManagement.InstanceManager Object that creates and destroys servlets, filters, and listeners. Include dependency injection and postConstruct/preDestory handling
    
servlets R [Ljava.lang.String; JSR77 list of servlets
jboss.web:j2eeType=Servlet,name=ContextServlet,WebModule=//localhost/jbossws,J2EEApplication=none,J2EEServer=none
jboss.web:j2eeType=Servlet,name=PortComponentLinkServlet,WebModule=//localhost/jbossws,J2EEApplication=none,J2EEServer=none
jboss.web:j2eeType=Servlet,name=jsp,WebModule=//localhost/jbossws,J2EEApplication=none,J2EEServer=none
jboss.web:j2eeType=Servlet,name=default,WebModule=//localhost/jbossws,J2EEApplication=none,J2EEServer=none
    
valveObjectNames R [Ljavax.management.ObjectName; ObjectNames for the valves associated with this container

loader

RW org.apache.catalina.Loader Associated loader.
    
caseSensitive RW boolean Should case sensitivity checks be performed
TrueFalse    
processingTime R long Cumulative execution times of all servlets in this context
0    
useNaming RW boolean Create a JNDI naming context for this application?
TrueFalse    
deploymentDescriptor RW java.lang.String String deployment descriptor
    
cacheObjectMaxSize RW int Maximum cached object size in KB
    
override RW boolean The DefaultContext override flag for this web application
TrueFalse    
cachingAllowed RW boolean Should we cache static resources for this webapp
TrueFalse    
namingContextListener RW org.apache.catalina.core.NamingContextListener Associated naming context listener.
    
swallowOutput RW boolean Flag to set to cause the system.out and system.err to be redirected to the logger when executing a servlet
TrueFalse    
privileged RW boolean Access to tomcat internals
TrueFalse    
parentClassLoader RW java.lang.ClassLoader Parent class loader.
    
unloadDelay RW long Amount of ms that the container will wait for servlets to unload
    
docBase RW java.lang.String The document root for this web application
    
eventProvider RW boolean Event provider support for this managed object
TrueFalse    
workDir RW java.lang.String The pathname to the work directory for this context
    
tldScanTime RW long Time spend scanning jars for TLDs for this context
    
javaVMs RW [Ljava.lang.String; The Java virtual machines on which this module is running
    
statisticsProvider RW boolean Performance statistics support for this managed object
TrueFalse    
state RW int Current state of this component
    
children RW [Ljavax.management.ObjectName; Object names of all children
    
modelerType R java.lang.String Type of the modeled resource. Can be set only once
org.apache.catalina.core.StandardContext    
delegate RW boolean (no description)
TrueFalse    
mappingObject RW java.lang.Object The object used for mapping
    
startupTime RW long Time (in milliseconds) it took to start this context
    
crossContext RW boolean Should we allow the ServletContext.getContext() method to access the context of other web applications in this server?
TrueFalse    
welcomeFiles R [Ljava.lang.String; The welcome files for this context
index.html
    
logger RW org.apache.commons.logging.Log Associated logger.
    
path RW java.lang.String The context path for this Context
    
cookies RW boolean Should we attempt to use cookies for session id communication?
TrueFalse    
reloadable RW boolean The reloadable flag for this web application
TrueFalse    
defaultContextXml RW java.lang.String Location of the default context.xml resource or file
    
objectName RW java.lang.String Name of the object
    
antiResourceLocking RW boolean Take care to not lock resources
TrueFalse    
cacheMaxSize RW int Maximum cache size in KB
    
defaultWebXml RW java.lang.String Location of the default web.xml resource or file
    
server RW java.lang.String The J2EE Server this module is deployed on
    
allowLinking RW boolean Allow symlinking to outside the webapp root directory, if the webapp is an exploded directory
TrueFalse    


Operation Return Type Description Parameters
destroy void Destroy the context
[no parameters]
removeValve void Remove a valve from this Context
valve org.apache.catalina.Valve New valve to be removed
stop void Stop the context
[no parameters]
start void Start the context
[no parameters]
removeLifecycleListener void Remove a lifecycle listener from this Context
listener org.apache.catalina.LifecycleListener New lifecycle listener to be removed
findMappingObject org.apache.catalina.Context Return an object which may be utilized for mapping to this component
[no parameters]
init void Register the context into the running server
[no parameters]
findStaticResources javax.naming.directory.DirContext Return the naming resources associated with this web application
[no parameters]
addLifecycleListener void Add a lifecycle listener to this Context
listener org.apache.catalina.LifecycleListener New lifecycle listener to be added
addValve void Add a valve to this Context
valve org.apache.catalina.Valve New valve to be added
reload void Reload the webapplication
[no parameters]