Package org.apache.catalina.mbeans
Class ContextMBean
- All Implemented Interfaces:
- DynamicMBean,- MBeanRegistration,- ModelMBeanNotificationBroadcaster,- NotificationBroadcaster
- 
Field SummaryFields inherited from class org.apache.tomcat.util.modeler.BaseModelMBeanattributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionString[]Return the set of application parameters for this application.String[]Return the security constraints for this web application.findErrorPage(int errorCode) Return the error page entry for the specified HTTP error code, if any; otherwise returnnull.findErrorPage(Throwable exceptionType) Return the error page entry for the specified Java exception type, if any; otherwise returnnull.String[]Return the set of defined error pages for all specified error codes and exception types.findFilterDef(String name) Return the filter definition for the specified filter name, if any; otherwise returnnull.String[]Return the set of defined filters for this Context.String[]Return the set of filter mappings for this Context.Methods inherited from class org.apache.catalina.mbeans.BaseCatalinaMBeandoGetManagedResource, newInstanceMethods inherited from class org.apache.tomcat.util.modeler.BaseModelMBeanaddAttributeChangeNotificationListener, 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
- 
Constructor Details- 
ContextMBeanpublic ContextMBean()
 
- 
- 
Method Details- 
findApplicationParametersReturn the set of application parameters for this application.- Returns:
- a string array with a representation of each parameter
- Throws:
- MBeanException- propagated from the managed resource access
 
- 
findConstraintsReturn the security constraints for this web application. If there are none, a zero-length array is returned.- Returns:
- a string array with a representation of each security constraint
- Throws:
- MBeanException- propagated from the managed resource access
 
- 
findErrorPageReturn the error page entry for the specified HTTP error code, if any; otherwise returnnull.- Parameters:
- errorCode- Error code to look up
- Returns:
- a string representation of the error page
- Throws:
- MBeanException- propagated from the managed resource access
 
- 
findErrorPageReturn the error page entry for the specified Java exception type, if any; otherwise returnnull.- Parameters:
- exceptionType- Exception type to look up
- Returns:
- a string representation of the error page
- Throws:
- MBeanException- propagated from the managed resource access
 
- 
findErrorPagesReturn the set of defined error pages for all specified error codes and exception types.- Returns:
- a string array with a representation of each error page
- Throws:
- MBeanException- propagated from the managed resource access
 
- 
findFilterDefReturn the filter definition for the specified filter name, if any; otherwise returnnull.- Parameters:
- name- Filter name to look up
- Returns:
- a string representation of the filter definition
- Throws:
- MBeanException- propagated from the managed resource access
 
- 
findFilterDefsReturn the set of defined filters for this Context.- Returns:
- a string array with a representation of all the filter definitions
- Throws:
- MBeanException- propagated from the managed resource access
 
- 
findFilterMapsReturn the set of filter mappings for this Context.- Returns:
- a string array with a representation of all the filter mappings
- Throws:
- MBeanException- propagated from the managed resource access
 
 
-