public abstract class DefaultManagedObject extends StandardMBean implements ManagedObject
DOMAIN| Modifier | Constructor and Description |
|---|---|
protected |
DefaultManagedObject(Class<?> managementInterface,
String typeName,
ManagedObjectRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getHierarchicalName(ManagedObject obj) |
protected String |
getHierarchicalType(ManagedObject obj) |
Class<?> |
getManagementInterface() |
MBeanInfo |
getMBeanInfo() |
MBeanNotificationInfo[] |
getNotificationInfo() |
ObjectName |
getObjectName()
Created the ObjectName as per the JMX Specs
|
protected ObjectName |
getObjectNameForSingleInstanceMBean() |
abstract ManagedObject |
getParentObject() |
ManagedObjectRegistry |
getRegistry() |
String |
getType() |
void |
register() |
String |
toString() |
void |
unregister() |
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, setImplementationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetObjectInstanceNameprotected DefaultManagedObject(Class<?> managementInterface, String typeName, ManagedObjectRegistry registry) throws NotCompliantMBeanException
NotCompliantMBeanExceptionpublic ManagedObjectRegistry getRegistry()
public MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeangetMBeanInfo in class StandardMBeanpublic String getType()
getType in interface ManagedObjectpublic Class<?> getManagementInterface()
getManagementInterface in interface ManagedObjectpublic abstract ManagedObject getParentObject()
getParentObject in interface ManagedObjectpublic void register()
throws JMException
register in interface ManagedObjectJMExceptionpublic void unregister()
throws JMException
unregister in interface ManagedObjectJMExceptionpublic ObjectName getObjectName() throws MalformedObjectNameException
getObjectName in interface ManagedObjectMalformedObjectNameExceptionprotected ObjectName getObjectNameForSingleInstanceMBean() throws MalformedObjectNameException
MalformedObjectNameExceptionprotected String getHierarchicalType(ManagedObject obj)
protected String getHierarchicalName(ManagedObject obj)
public MBeanNotificationInfo[] getNotificationInfo()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.