Describes a servlet component (servlet context).
Security roles | The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
|
||
Fully Qualified Interface Name | If you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:weblogic.management.runtime.WebAppComponentRuntimeMBean
|
||
Factory Methods | No factory methods. Instances of this MBean are created automatically. | ||
Access Points Inherited from ComponentRuntimeMBean |
Because this MBean extends or implements ComponentRuntimeMBean, you can also access this MBean by retrieving ComponentRuntimeMBeans. The following attributes contain ComponentRuntimeMBeans and its subtypes:
|
This section describes attributes that provide access to other MBeans. For more information about the MBean hierarchy, refer to WebLogic Server MBean Data Model.
Returns the list of library runtime instances for each J2EE library that is contained in this Enterprise application.
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Privileges | Read only |
Type | LibraryRuntimeMBean[] |
Relationship type: | Containment. |
Returns the log runtime associated with the j2ee webapp log
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Privileges | Read only |
Type | LogRuntimeMBean |
Relationship type: | Containment. |
Provides an array of ServletRuntimeMBeans associated with this module
Return an array of ServletRuntimeMBeans associated with this component
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Privileges | Read only |
Type | ServletRuntimeMBean[] |
Relationship type: | Containment. |
Provides an array of ServletSessionRuntimeMBeans associated with this component. This operation should only be done by explicit poll request (no real-time monitoring). This method will return a non-empty array only when session-monitoring has been turned on in weblogic.xml
Deprecated.
For more information, see:
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Privileges | Read only |
Type | ServletSessionRuntimeMBean[] |
Relationship type: | Containment. |
Get the runtime mbeans for all work managers defined in this component
Privileges | Read only |
Type | WorkManagerRuntimeMBean[] |
Relationship type: | Reference. |
This section describes the following attributes:
Provides the name of this component.
Privileges | Read only |
Type | java.lang.String |
Returns the context root (context path) for the webapp
Privileges | Read only |
Type | java.lang.String |
The current deployment state of the module.
Privileges | Read only |
Type | int |
Indicates whether the dispatched requests are filtered as configured in weblogic.xml.
Privileges | Read only |
Type | boolean |
Provides the directory indexing indicator as it is configured in weblogic.xml.
Privileges | Read only |
Type | boolean |
Provides the jsp's compileCommand as it is configured in weblogic.xml.
Privileges | Read only |
Type | java.lang.String |
Provides the jsp's debug/linenumbers parameter value as it is configured in weblogic.xml.
Privileges | Read only |
Type | boolean |
Provides the jsp's KeepGenerated parameter value as it is configured in weblogic.xml.
Privileges | Read only |
Type | boolean |
Provides the jsp's PageCheckSecs as it is configured in weblogic.xml.
Privileges | Read only |
Type | long |
Provides the jsp's verbose parameter value as it is configured in weblogic.xml.
Privileges | Read only |
Type | boolean |
Returns the log filename as configured in the "logging/log-filename" element in weblogic.xml
Privileges | Read only |
Type | java.lang.String |
Returns the identifier for this Component. The identifier is unique within the application.
Typical modules will use the URI for their id. Web Modules will return their context-root since the web-uri may not be unique within an EAR.
Privileges | Read only |
Type | java.lang.String |
Returns the web-uri as configured in application.xml for the webapp. For a standalone war it will return the docroot (if exploded) or name of the war file (if archived).
Privileges | Read only |
Type | java.lang.String |
Provides the name of this mbean.
Privileges | Read only |
Type | java.lang.String |
Provides a count of the current total number of open sessions in this module.
Returns the current total number of open sessions in this component.
Privileges | Read only |
Type | int |
Provides the high water mark of the total number of open sessions in this server. The count starts at zero each time the server is activated. Note that this is an optimization method for a highly useful statistic that could be implemented less efficiently using change notification.
Privileges | Read only |
Type | int |
Return the immediate parent for this MBean
Privileges | Read/Write |
Type |
Provides the servlet reload check seconds as it is configured in weblogic.xml.
Privileges | Read only |
Type | int |
This method returns an array of monitoring Ids for http sessions. By default the monitoring id for a given http session is a random string (not the same as session id for security reasons). If the value of the element monitoring-attribute-name in session-descriptor of weblogic.xml is set, the monitoring id will be the toString() of the attribute value in the session, using monitoring-attribute-name as the key.
Privileges | Read only |
Type | class java.lang.String[] |
By default, all applications on WebLogic Server specify
"WebLogic Session Tracking Cookie" as the cookie comment. To
provide a more specific comment, edit your application's
weblogic.xml
deployment descriptor.
Privileges | Read only |
Type | java.lang.String |
By default, clients can return cookies only to the server that
issued the cookie. You can change this default behavior by editing
your application's weblogic.xml
deployment
descriptor.
For more information, see Cookie.setDomain()
in the Servlet
specification from Sun Microsystems.
Privileges | Read only |
Type | java.lang.String |
Provides the life span of the session cookie, in seconds, after
which it expires on the client. If the value is 0, the cookie
expires immediately.
If set to -1, the cookie expires when the user exits the
browser.
Privileges | Read only |
Type | int |
By default, all applications on WebLogic Server specify
"JSESSIONID" as the cookie name. To provide a more specific name,
edit your application's weblogic.xml
deployment
descriptor.
Privileges | Read only |
Type | java.lang.String |
Provides the path name to which clients send cookies.
Privileges | Read only |
Type | java.lang.String |
Provides the session ID length configured for http sessions.
Privileges | Read only |
Type | int |
Provides the invalidation check timer interval configured for http sessions.
Privileges | Read only |
Type | int |
Provides the session monitoring indicator as it is configured in weblogic.xml.
Privileges | Read only |
Type | boolean |
Provides a count of the total number of sessions opened.
Privileges | Read only |
Type | int |
Provides the timeout configured for http sessions.
Privileges | Read only |
Type | int |
Provides the single threaded servlet pool size as it is configured in weblogic.xml.
Privileges | Read only |
Type | int |
Provides an informative string about the module's source.
Return an informative string about the component's source.
Privileges | Read only |
Type | java.lang.String |
Provides the status of the component.
Privileges | Read only |
Type | java.lang.String |
Returns the type of the MBean.
Privileges | Read only |
Type | java.lang.String |
This section describes the following operations:
Invalidates expired sessions. This is useful to do the cleanup if the session invalidation trigger is too large.
Operation Name | "deleteInvalidSessions" |
Parameters | null |
Signature | null |
Returns |
void
|
Returns the monitoring id for a session for a given sessionId
Operation Name | "getMonitoringId" |
Parameters | Object [] { sessionId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | String
|
Provides the servlet session by its session ID.
Deprecated.
Operation Name | "getServletSession" |
Parameters | Object [] { sessionID }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | ServletSessionRuntimeMBean |
Provides a record of the last time this session was accessed. You need to pass the string returned by getServletSessionsMonitoringIds()
For more information, see:
Operation Name | "getSessionLastAccessedTime" |
Parameters | Object [] { monitoringId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
long
|
Exceptions |
|
Returns the timeout (seconds) for the session corresponding to the given monitoringId.
For more information, see:
Operation Name | "getSessionMaxInactiveInterval" |
Parameters | Object [] { monitoringId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
long
|
Exceptions |
|
Invalidates this session for a given monitoring id.
For more information, see:
Operation Name | "invalidateServletSession" |
Parameters | Object [] { monitoringId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|