public class ContextMBean extends ContainerMBean
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
Constructor and Description |
---|
ContextMBean() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
findApplicationParameters()
Return the set of application parameters for this application.
|
java.lang.String[] |
findConstraints()
Return the security constraints for this web application.
|
java.lang.String |
findErrorPage(int errorCode)
Return the error page entry for the specified HTTP error code,
if any; otherwise return
null . |
java.lang.String |
findErrorPage(java.lang.String exceptionType)
Return the error page entry for the specified Java exception type,
if any; otherwise return
null . |
java.lang.String[] |
findErrorPages()
Return the set of defined error pages for all specified error codes
and exception types.
|
java.lang.String |
findFilterDef(java.lang.String name)
Return the filter definition for the specified filter name, if any;
otherwise return
null . |
java.lang.String[] |
findFilterDefs()
Return the set of defined filters for this Context.
|
java.lang.String[] |
findFilterMaps()
Return the set of filter mappings for this Context.
|
addChild, addLifeCycleListener, addValve, findContainerListenerNames, findLifecycleListenerNames, removeChild, removeLifeCycleListeners, removeValve
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, invoke, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedBean, setManagedResource, toString
public ContextMBean() throws javax.management.MBeanException, javax.management.RuntimeOperationsException
javax.management.MBeanException
javax.management.RuntimeOperationsException
public java.lang.String[] findApplicationParameters() throws javax.management.MBeanException
javax.management.MBeanException
public java.lang.String[] findConstraints() throws javax.management.MBeanException
javax.management.MBeanException
public java.lang.String findErrorPage(int errorCode) throws javax.management.MBeanException
null
.errorCode
- Error code to look upjavax.management.MBeanException
public java.lang.String findErrorPage(java.lang.String exceptionType) throws javax.management.MBeanException
null
.exceptionType
- Exception type to look upjavax.management.MBeanException
public java.lang.String[] findErrorPages() throws javax.management.MBeanException
javax.management.MBeanException
public java.lang.String findFilterDef(java.lang.String name) throws javax.management.MBeanException
null
.name
- Filter name to look upjavax.management.MBeanException
public java.lang.String[] findFilterDefs() throws javax.management.MBeanException
javax.management.MBeanException
public java.lang.String[] findFilterMaps() throws javax.management.MBeanException
javax.management.MBeanException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.