public class ContextMBean extends ContainerMBean
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
Constructor and Description |
---|
ContextMBean() |
Modifier and Type | Method and Description |
---|---|
String[] |
findApplicationParameters()
Return the set of application parameters for this application.
|
String[] |
findConstraints()
Return the security constraints for this web application.
|
String |
findErrorPage(int errorCode)
Return the error page entry for the specified HTTP error code,
if any; otherwise return
null . |
String |
findErrorPage(String exceptionType)
Return the error page entry for the specified Java exception type,
if any; otherwise return
null . |
String[] |
findErrorPages()
Return the set of defined error pages for all specified error codes
and exception types.
|
String |
findFilterDef(String name)
Return the filter definition for the specified filter name, if any;
otherwise return
null . |
String[] |
findFilterDefs()
Return the set of defined filters for this Context.
|
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 MBeanException, RuntimeOperationsException
public String[] findApplicationParameters() throws MBeanException
MBeanException
public String[] findConstraints() throws MBeanException
MBeanException
public String findErrorPage(int errorCode) throws MBeanException
null
.errorCode
- Error code to look upMBeanException
public String findErrorPage(String exceptionType) throws MBeanException
null
.exceptionType
- Exception type to look upMBeanException
public String[] findErrorPages() throws MBeanException
MBeanException
public String findFilterDef(String name) throws MBeanException
null
.name
- Filter name to look upMBeanException
public String[] findFilterDefs() throws MBeanException
MBeanException
public String[] findFilterMaps() throws MBeanException
MBeanException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.