public class ContextMBean extends BaseCatalinaMBean<Context>
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)
Deprecated.
Unused. Will be removed in Tomcat 10.
Use
findErrorPage(Throwable) instead. |
java.lang.String |
findErrorPage(java.lang.Throwable 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.
|
doGetManagedResource, newInstance
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 java.lang.String[] findApplicationParameters() throws javax.management.MBeanException
javax.management.MBeanException
- propagated from the managed resource accesspublic java.lang.String[] findConstraints() throws javax.management.MBeanException
javax.management.MBeanException
- propagated from the managed resource accesspublic java.lang.String findErrorPage(int errorCode) throws javax.management.MBeanException
null
.errorCode
- Error code to look upjavax.management.MBeanException
- propagated from the managed resource access@Deprecated public java.lang.String findErrorPage(java.lang.String exceptionType) throws javax.management.MBeanException
findErrorPage(Throwable)
instead.null
.exceptionType
- Exception type to look upjavax.management.MBeanException
- propagated from the managed resource accesspublic java.lang.String findErrorPage(java.lang.Throwable exceptionType) throws javax.management.MBeanException
null
.exceptionType
- Exception type to look upjavax.management.MBeanException
- propagated from the managed resource accesspublic java.lang.String[] findErrorPages() throws javax.management.MBeanException
javax.management.MBeanException
- propagated from the managed resource accesspublic java.lang.String findFilterDef(java.lang.String name) throws javax.management.MBeanException
null
.name
- Filter name to look upjavax.management.MBeanException
- propagated from the managed resource accesspublic java.lang.String[] findFilterDefs() throws javax.management.MBeanException
javax.management.MBeanException
- propagated from the managed resource accesspublic java.lang.String[] findFilterMaps() throws javax.management.MBeanException
javax.management.MBeanException
- propagated from the managed resource accessCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.