org.apache.qpid.management.domain.model
Class QpidEntity

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.apache.qpid.management.domain.model.QpidEntity
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter
Direct Known Subclasses:
QpidClass, QpidEvent

public abstract class QpidEntity
extends NotificationBroadcasterSupport

Layer supertype for QMan entities.


Nested Class Summary
(package private)  class QpidEntity.QManManagedEntity
          Layer supertype for QMan managed bean entities.
 
Field Summary
(package private)  Binary _hash
           
(package private)  org.apache.qpid.transport.util.Logger _logger
           
(package private)  MBeanInfo _metadata
           
(package private)  String _name
           
protected  ObjectName _objectName
           
(package private)  QpidPackage _parent
           
(package private)  QpidService _service
           
(package private) static JmxService JMX_SERVICE
           
 
Constructor Summary
QpidEntity(String className, Binary hash, QpidPackage parentPackage, String type)
          Builds a new class with the given name and package as parent.
 
Method Summary
 String getName()
           
 String getPackageName()
           
(package private)  void requestSchema()
          Internal method used to send a schema request for this entity.
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_logger

final org.apache.qpid.transport.util.Logger _logger

JMX_SERVICE

static final JmxService JMX_SERVICE

_name

final String _name

_hash

final Binary _hash

_parent

final QpidPackage _parent

_metadata

MBeanInfo _metadata

_service

final QpidService _service

_objectName

protected ObjectName _objectName
Constructor Detail

QpidEntity

QpidEntity(String className,
           Binary hash,
           QpidPackage parentPackage,
           String type)
Builds a new class with the given name and package as parent.

Parameters:
className - the name of the class.
hash - the class schema hash.
parentPackage - the parent of this class.
Method Detail

getName

public String getName()

getPackageName

public String getPackageName()

requestSchema

void requestSchema()
             throws Exception
Internal method used to send a schema request for this entity.

Throws:
Exception - when the request cannot be sent.


Licensed to the Apache Software Foundation