|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.management.domain.model.QpidEntity.QManManagedEntity
org.apache.qpid.management.domain.model.QpidClass.QManManagedObject
class QpidClass.QManManagedObject
MBean used for representing remote broker object instances. This is the core component of the QMan domain model
Field Summary | |
---|---|
(package private) List<byte[]> |
_rawConfigurationData
|
(package private) List<byte[]> |
_rawInstrumentationData
|
Fields inherited from class org.apache.qpid.management.domain.model.QpidEntity.QManManagedEntity |
---|
_attributes |
Constructor Summary | |
---|---|
QpidClass.QManManagedObject(Binary objectId)
Builds a new managed object with the given object identifier. |
Method Summary | |
---|---|
Object |
getAttribute(String attributeName)
Returns the value of the given attribute.s |
Object |
invoke(String actionName,
Object[] params,
String[] signature)
Executes an operation on this object instance. |
void |
postDeregister()
MBean server callback after deregistration. |
void |
postRegister(Boolean registrationDone)
After the object is registered the raw data is set to null. |
void |
preDeregister()
MBean server callback before deregistration. |
ObjectName |
preRegister(MBeanServer server,
ObjectName name)
MBean server callback before registration. |
void |
setAttribute(Attribute attribute)
Sets the value of the given attribute on this object instance. |
AttributeList |
setAttributes(AttributeList attributes)
Sets the values of several attributes of this MBean. |
Methods inherited from class org.apache.qpid.management.domain.model.QpidEntity.QManManagedEntity |
---|
createOrReplaceAttributeValue, getAttributes, getMBeanInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
List<byte[]> _rawInstrumentationData
List<byte[]> _rawConfigurationData
Constructor Detail |
---|
QpidClass.QManManagedObject(Binary objectId)
objectId
- the object identifier.Method Detail |
---|
public Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute
in interface DynamicMBean
AttributeNotFoundException
- when no attribute is found with the given name.
MBeanException
ReflectionException
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
actionName
- the name of the method.params
- the method parameterssignature
- the method signature.
MBeanException
ReflectionException
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute
in interface DynamicMBean
attribute
- contains the new value of the attribute.
AttributeNotFoundException
- when the given attribute is not found on this object instance.
InvalidAttributeValueException
- when the given value is violating one attribute invariant.
MBeanException
ReflectionException
public AttributeList setAttributes(AttributeList attributes)
setAttributes
in interface DynamicMBean
attributes
- a list of attributes: The identification of the attributes to be set and the values they are to be set to.
public void postDeregister()
postDeregister
in interface MBeanRegistration
public void postRegister(Boolean registrationDone)
postRegister
in interface MBeanRegistration
registrationDone
- a flag indicating if the instance has been registered to mbean server.public void preDeregister() throws Exception
preDeregister
in interface MBeanRegistration
Exception
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister
in interface MBeanRegistration
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |