Class ContextHandlerMBean
java.lang.Object
org.eclipse.jetty.jmx.ObjectMBean
org.eclipse.jetty.server.jmx.Handler.AbstractMBean
org.eclipse.jetty.server.handler.jmx.ContextHandlerMBean
- All Implemented Interfaces:
DynamicMBean
@ManagedObject("ContextHandler mbean wrapper")
public class ContextHandlerMBean
extends Handler.AbstractMBean
-
Field Summary
Fields inherited from class org.eclipse.jetty.jmx.ObjectMBean
_managed
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the managed object.void
removeContextAttribute
(String name) void
setContextAttribute
(String name, Object value) void
setContextAttribute
(String name, String value) Methods inherited from class org.eclipse.jetty.server.jmx.Handler.AbstractMBean
getContextName, getObjectContextBasis
Methods inherited from class org.eclipse.jetty.jmx.ObjectMBean
getAttribute, getAttributes, getMBeanContainer, getMBeanInfo, getObjectName, getObjectNameBasis, invoke, setAttribute, setAttributes, setMBeanContainer
-
Constructor Details
-
ContextHandlerMBean
-
-
Method Details
-
getManagedObject
Description copied from class:ObjectMBean
Get the managed object.- Overrides:
getManagedObject
in classHandler.AbstractMBean
- Returns:
- the managed object
-
getContextAttributes
-
setContextAttribute
@ManagedOperation(value="Set context attribute", impact="ACTION") public void setContextAttribute(@Name(value="name",description="attribute name") String name, @Name(value="value",description="attribute value") Object value) -
setContextAttribute
@ManagedOperation(value="Set context attribute", impact="ACTION") public void setContextAttribute(@Name(value="name",description="attribute name") String name, @Name(value="value",description="attribute value") String value) -
removeContextAttribute
@ManagedOperation(value="Remove context attribute", impact="ACTION") public void removeContextAttribute(@Name(value="name",description="attribute name") String name)
-