org.apache.qpid.server.information.management
Class ServerInformationMBean
java.lang.Object
javax.management.StandardMBean
org.apache.qpid.server.management.DefaultManagedObject
org.apache.qpid.server.management.AMQManagedObject
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.
Fields inherited from interface org.apache.qpid.management.common.mbeans.ServerInformation |
QPID_JMX_API_MAJOR_VERSION, QPID_JMX_API_MINOR_VERSION, TYPE |
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 |
ServerInformationMBean
public ServerInformationMBean(String buildVersion,
String productVersion)
throws JMException
- Throws:
JMException
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