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, setImplementation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getObjectInstanceName
protected DefaultManagedObject(Class<?> managementInterface, String typeName, ManagedObjectRegistry registry) throws NotCompliantMBeanException
NotCompliantMBeanException
public ManagedObjectRegistry getRegistry()
public MBeanInfo getMBeanInfo()
getMBeanInfo
in interface DynamicMBean
getMBeanInfo
in class StandardMBean
public String getType()
getType
in interface ManagedObject
public Class<?> getManagementInterface()
getManagementInterface
in interface ManagedObject
public abstract ManagedObject getParentObject()
getParentObject
in interface ManagedObject
public void register() throws JMException
register
in interface ManagedObject
JMException
public void unregister() throws JMException
unregister
in interface ManagedObject
JMException
public ObjectName getObjectName() throws MalformedObjectNameException
getObjectName
in interface ManagedObject
MalformedObjectNameException
protected ObjectName getObjectNameForSingleInstanceMBean() throws MalformedObjectNameException
MalformedObjectNameException
protected String getHierarchicalType(ManagedObject obj)
protected String getHierarchicalName(ManagedObject obj)
public MBeanNotificationInfo[] getNotificationInfo()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.