org.apache.qpid.management.domain.model
Class QpidEvent.QManManagedEvent

java.lang.Object
  extended by org.apache.qpid.management.domain.model.QpidEntity.QManManagedEntity
      extended by org.apache.qpid.management.domain.model.QpidEvent.QManManagedEvent
All Implemented Interfaces:
DynamicMBean
Enclosing class:
QpidEvent

 class QpidEvent.QManManagedEvent
extends QpidEntity.QManManagedEntity

MBean used for representing remote broker object instances. This is the core component of the QMan domain model


Field Summary
(package private)  byte[] _rawEventData
           
(package private)  int _severity
           
(package private)  long _timestamp
           
 
Fields inherited from class org.apache.qpid.management.domain.model.QpidEntity.QManManagedEntity
_attributes
 
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 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

_rawEventData

final byte[] _rawEventData

_timestamp

final long _timestamp

_severity

final int _severity
Method Detail

getAttribute

public Object getAttribute(String attributeName)
                    throws AttributeNotFoundException,
                           MBeanException,
                           ReflectionException
Returns the value of the given attribute.s

Throws:
AttributeNotFoundException - when no attribute is found with the given name.
MBeanException
ReflectionException

invoke

public Object invoke(String actionName,
                     Object[] params,
                     String[] signature)
              throws MBeanException,
                     ReflectionException
Executes an operation on this object instance.

Parameters:
actionName - the name of the method.
params - the method parameters
signature - the method signature.
Throws:
MBeanException
ReflectionException

setAttribute

public void setAttribute(Attribute attribute)
                  throws AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException
Sets the value of the given attribute on this object instance.

Parameters:
attribute - contains the new value of the attribute.
Throws:
AttributeNotFoundException - when the given attribute is not found on this object instance.
InvalidAttributeValueException - when the given value is violating one attribute invariant.
MBeanException
ReflectionException

setAttributes

public AttributeList setAttributes(AttributeList attributes)
Sets the values of several attributes of this MBean.

Parameters:
attributes - a list of attributes: The identification of the attributes to be set and the values they are to be set to.
Returns:
The list of attributes that were set, with their new values.


Licensed to the Apache Software Foundation