org.apache.qpid.server.information.management
Class ServerInformationMBean

java.lang.Object
  extended by javax.management.StandardMBean
      extended by org.apache.qpid.server.management.DefaultManagedObject
          extended by org.apache.qpid.server.management.AMQManagedObject
              extended by org.apache.qpid.server.information.management.ServerInformationMBean
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, org.apache.qpid.management.common.mbeans.ServerInformation, ManagedObject

public class ServerInformationMBean
extends AMQManagedObject
implements org.apache.qpid.management.common.mbeans.ServerInformation

MBean class for the ServerInformationMBean.


Field Summary
 
Fields inherited from class org.apache.qpid.server.management.AMQManagedObject
_broadcaster, _logActor, _mbeanInfo, _notificationSequenceNumber
 
Fields inherited from interface org.apache.qpid.management.common.mbeans.ServerInformation
QPID_JMX_API_MAJOR_VERSION, QPID_JMX_API_MINOR_VERSION, TYPE
 
Fields inherited from interface org.apache.qpid.server.management.ManagedObject
DOMAIN
 
Constructor Summary
ServerInformationMBean(String buildVersion, String productVersion)
           
 
Method Summary
 String getBuildVersion()
           
 Integer getManagementApiMajorVersion()
           
 Integer getManagementApiMinorVersion()
           
 String getObjectInstanceName()
           
 String getProductVersion()
           
 
Methods inherited from class org.apache.qpid.server.management.AMQManagedObject
addNotificationListener, getMBeanInfo, getNotificationInfo, removeNotificationListener
 
Methods inherited from class org.apache.qpid.server.management.DefaultManagedObject
getHierarchicalName, getHierarchicalType, getManagedObjectRegistry, getManagementInterface, getObjectName, getObjectNameForSingleInstanceMBean, getParentObject, getType, jmxEncode, register, toString, unregister
 
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerInformationMBean

public ServerInformationMBean(String buildVersion,
                              String productVersion)
                       throws JMException
Throws:
JMException
Method Detail

getObjectInstanceName

public String getObjectInstanceName()
Specified by:
getObjectInstanceName in interface ManagedObject
Returns:
the name that uniquely identifies this object instance. It must be unique only among objects of this type at this level in the hierarchy so the uniqueness should not be too difficult to ensure.

getManagementApiMajorVersion

public Integer getManagementApiMajorVersion()
                                     throws IOException
Specified by:
getManagementApiMajorVersion in interface org.apache.qpid.management.common.mbeans.ServerInformation
Throws:
IOException

getManagementApiMinorVersion

public Integer getManagementApiMinorVersion()
                                     throws IOException
Specified by:
getManagementApiMinorVersion in interface org.apache.qpid.management.common.mbeans.ServerInformation
Throws:
IOException

getBuildVersion

public String getBuildVersion()
                       throws IOException
Specified by:
getBuildVersion in interface org.apache.qpid.management.common.mbeans.ServerInformation
Throws:
IOException

getProductVersion

public String getProductVersion()
                         throws IOException
Specified by:
getProductVersion in interface org.apache.qpid.management.common.mbeans.ServerInformation
Throws:
IOException


Licensed to the Apache Software Foundation