public abstract class ChildRuntimeInfoComponentImpl extends java.lang.Object implements ChildRuntimeInfoComponent
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Modifier | Constructor and Description |
---|---|
protected |
ChildRuntimeInfoComponentImpl() |
Modifier and Type | Method and Description |
---|---|
javax.management.ObjectName |
createObjectName()
Create the object name representation of the mbean.
|
java.lang.String |
getParentId()
Get the parent's uniqueid.
|
javax.management.ObjectName |
getParentObjectName()
Get the parents ObjectName representation.
|
protected abstract java.lang.String |
getType() |
void |
registerMBean()
Register this component (and all children) against the default Platform MBeanServer.
|
protected abstract java.lang.String |
uniqueId() |
void |
unregisterMBean()
Unregister this component (and all children) from the default Platform MBeanServer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParentRuntimeInfoComponent
protected abstract java.lang.String getType()
protected abstract java.lang.String uniqueId()
public javax.management.ObjectName getParentObjectName() throws javax.management.MalformedObjectNameException
ChildRuntimeInfoComponentMBean
getParentObjectName
in interface ChildRuntimeInfoComponentMBean
javax.management.MalformedObjectNameException
public java.lang.String getParentId()
ChildRuntimeInfoComponentMBean
getParentId
in interface ChildRuntimeInfoComponentMBean
public javax.management.ObjectName createObjectName() throws javax.management.MalformedObjectNameException
BaseComponentMBean
createObjectName
in interface BaseComponentMBean
javax.management.MalformedObjectNameException
- on exception.public void registerMBean() throws CoreException
BaseComponentMBean
registerMBean
in interface BaseComponentMBean
CoreException
- wrapping any exceptionManagementFactory.getPlatformMBeanServer()
public void unregisterMBean() throws CoreException
BaseComponentMBean
unregisterMBean
in interface BaseComponentMBean
CoreException
- wrapping any exceptionManagementFactory.getPlatformMBeanServer()