Class ContextHandlerMBean
- java.lang.Object
-
- org.eclipse.jetty.jmx.ObjectMBean
-
- org.eclipse.jetty.server.handler.jmx.AbstractHandlerMBean
-
- org.eclipse.jetty.server.handler.jmx.ContextHandlerMBean
-
- All Implemented Interfaces:
javax.management.DynamicMBean
@ManagedObject("ContextHandler mbean wrapper") public class ContextHandlerMBean extends AbstractHandlerMBean
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.jmx.ObjectMBean
_managed
-
-
Constructor Summary
Constructors Constructor Description ContextHandlerMBean(java.lang.Object managedObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getContextAttributes()
void
removeContextAttribute(java.lang.String name)
void
setContextAttribute(java.lang.String name, java.lang.Object value)
void
setContextAttribute(java.lang.String name, java.lang.String value)
-
Methods inherited from class org.eclipse.jetty.server.handler.jmx.AbstractHandlerMBean
getContextName, getObjectContextBasis
-
Methods inherited from class org.eclipse.jetty.jmx.ObjectMBean
getAttribute, getAttributes, getManagedObject, getMBeanContainer, getMBeanInfo, getObjectName, getObjectNameBasis, invoke, mbeanFor, setAttribute, setAttributes, setMBeanContainer
-
-
-
-
Method Detail
-
getContextAttributes
@ManagedAttribute("Map of context attributes") public java.util.Map<java.lang.String,java.lang.Object> getContextAttributes()
-
setContextAttribute
@ManagedOperation(value="Set context attribute", impact="ACTION") public void setContextAttribute(@Name(value="name",description="attribute name") java.lang.String name, @Name(value="value",description="attribute value") java.lang.Object value)
-
setContextAttribute
@ManagedOperation(value="Set context attribute", impact="ACTION") public void setContextAttribute(@Name(value="name",description="attribute name") java.lang.String name, @Name(value="value",description="attribute value") java.lang.String value)
-
removeContextAttribute
@ManagedOperation(value="Remove context attribute", impact="ACTION") public void removeContextAttribute(@Name(value="name",description="attribute name") java.lang.String name)
-
-