org.apache.qpid.management.domain.model
Class QpidEntity.QManManagedEntity
java.lang.Object
org.apache.qpid.management.domain.model.QpidEntity.QManManagedEntity
- All Implemented Interfaces:
- DynamicMBean
- Direct Known Subclasses:
- QpidClass.QManManagedObject, QpidEvent.QManManagedEvent
- Enclosing class:
- QpidEntity
abstract class QpidEntity.QManManagedEntity
- extends Object
- implements DynamicMBean
Layer supertype for QMan managed bean entities.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_attributes
Map<String,Object> _attributes
QpidEntity.QManManagedEntity
QpidEntity.QManManagedEntity()
createOrReplaceAttributeValue
void createOrReplaceAttributeValue(String attributeName,
Object newValue)
- Creates or replace the given attribute.
Note that this is not part of the management interface of this object instance and therefore will be accessible only
from within this class.
It is used to update directly the object attributes bypassing jmx interface.
- Parameters:
attributeName
- the name of the attribute.property
- newValue the new value of the attribute.
getAttributes
public AttributeList getAttributes(String[] attributes)
- Get the values of several attributes of the Dynamic MBean.
- Specified by:
getAttributes
in interface DynamicMBean
- Parameters:
attributes
- A list of the attributes to be retrieved.
- Returns:
- The list of attributes retrieved.
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Returns metadata for this object instance.
- Specified by:
getMBeanInfo
in interface DynamicMBean
Licensed to the Apache Software Foundation