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 ObjectMBean
_managed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the managed object.voidremoveContextAttribute(String name) voidsetContextAttribute(String name, Object value) voidsetContextAttribute(String name, String value) Methods inherited from class Handler.AbstractMBean
getContextName, getObjectContextBasisMethods inherited from class ObjectMBean
getAttribute, getAttributes, getMBeanContainer, getMBeanInfo, getObjectName, getObjectNameBasis, invoke, setAttribute, setAttributes, setMBeanContainer
-
Constructor Details
-
ContextHandlerMBean
-
-
Method Details
-
getManagedObject
Description copied from class:ObjectMBeanGet the managed object.- Overrides:
getManagedObjectin 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)
-