@ManagedObject(value="ContextHandler mbean wrapper") public class ContextHandlerMBean extends AbstractHandlerMBean
_managed
Constructor and Description |
---|
ContextHandlerMBean(Object managedObject) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getContextAttributes() |
void |
removeContextAttribute(String name) |
void |
setContextAttribute(String name,
Object value) |
void |
setContextAttribute(String name,
String value) |
getContextName, getObjectContextBasis
defineAttribute, getAttribute, getAttributes, getManagedObject, getMBeanContainer, getMBeanInfo, getObjectName, getObjectNameBasis, invoke, isAnnotationPresent, mbeanFor, setAttribute, setAttributes, setMBeanContainer, toVariableName
public ContextHandlerMBean(Object managedObject)
@ManagedAttribute(value="Map of context attributes") public Map<String,Object> getContextAttributes()
@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)
@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)
@ManagedOperation(value="Remove context attribute", impact="ACTION") public void removeContextAttribute(@Name(value="name",description="attribute name") String name)
Copyright © 1995-2015 Webtide. All Rights Reserved.