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, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedBean, setManagedResource, toString
public ContextMBean() throws MBeanException, RuntimeOperationsException
public String[] findApplicationParameters() throws MBeanException
MBeanException
- propagated from the managed resource accesspublic String[] findConstraints() throws MBeanException
MBeanException
- propagated from the managed resource accesspublic String findErrorPage(int errorCode) throws MBeanException
null
.errorCode
- Error code to look upMBeanException
- propagated from the managed resource accesspublic String findErrorPage(String exceptionType) throws MBeanException
null
.exceptionType
- Exception type to look upMBeanException
- propagated from the managed resource accesspublic String[] findErrorPages() throws MBeanException
MBeanException
- propagated from the managed resource accesspublic String findFilterDef(String name) throws MBeanException
null
.name
- Filter name to look upMBeanException
- propagated from the managed resource accesspublic String[] findFilterDefs() throws MBeanException
MBeanException
- propagated from the managed resource accesspublic String[] findFilterMaps() throws MBeanException
MBeanException
- propagated from the managed resource accessCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.