| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static final Log | |
| private ObjectName | |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | destroyInternal()
Implements abstract org. Sub-classes wishing to perform additional clean-up should override this method, ensuring that super.destroyInternal() is the last call in the overriding method. |
| public final String | getDomain()
Implements org. Obtain the domain under which this component will be / has been registered. |
| protected abstract String | Returns: The name of the domain to use to register MBeans.Method implemented by sub-classes to identify the domain in which MBeans should be registered. |
| public final ObjectName | getObjectName()
Implements org. Obtain the name under which this component has been registered with JMX. |
| protected abstract String | Returns: The string representation of the key properties component of the desiredObjectNameAllow sub-classes to specify the key properties component of the
|
| protected void | initInternal()
Implements abstract org. Sub-classes wishing to perform additional initialization should override this method, ensuring that super.initInternal() is the first call in the overriding method. |
| public final void | |
| public final void | postRegister(Boolean
Indicates whether or not the MBean has
been successfully registered in the MBean server. The value
false means that the registration phase has failed. registrationDone)Implements javax. Not used - NOOP. |
| public final void | |
| public final ObjectName | preRegister(MBeanServer
The MBean Server in which the MBean will be registered. server, ObjectName The object name of the MBean. This name is null if
the name parameter to one of the name)createMBean or
registerMBean methods in the MBeanServer
interface is null. In that case, this method must return a
non-null ObjectName for the new MBean.Implements javax. Allows the object to be registered with an alternative
|
| protected final ObjectName | Returns: The name used to register the objectThe object the register obj, String The key properties component of the
object name to use to register the
object objectNameKeyProperties)Utility method to enable sub-classes to easily register additional
components that don't implement |
| public final void | setDomain(String
The name of the domain under which this component should be
registered domain)Implements org. Specify the domain under which this component should be registered. |
| protected final void | unregister(String
The key properties component of the
object name to use to unregister the
object objectNameKeyProperties)Utility method to enable sub-classes to easily unregister additional
components that don't implement |
| protected final void | unregister(ObjectName
The name of the component to unregister on)Utility method to enable sub-classes to easily unregister additional
components that don't implement |
| domain | back to summary |
|---|---|
| private String domain | |
| log | back to summary |
|---|---|
| private static final Log log | |
| oname | back to summary |
|---|---|
| private ObjectName oname | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| LifecycleMBeanBase | back to summary |
|---|---|
| public LifecycleMBeanBase() | |
| destroyInternal | back to summary |
|---|---|
| protected void destroyInternal() throws LifecycleException Implements abstract org. Sub-classes wishing to perform additional clean-up should override this method, ensuring that super.destroyInternal() is the last call in the overriding method.
| |
| getDomain | back to summary |
|---|---|
| public final String getDomain() Implements org. Obtain the domain under which this component will be / has been registered.
| |
| getDomainInternal | back to summary |
|---|---|
| protected abstract String getDomainInternal() Method implemented by sub-classes to identify the domain in which MBeans should be registered.
| |
| getObjectName | back to summary |
|---|---|
| public final ObjectName getObjectName() Implements org. Obtain the name under which this component has been registered with JMX.
| |
| getObjectNameKeyProperties | back to summary |
|---|---|
| protected abstract String getObjectNameKeyProperties() Allow sub-classes to specify the key properties component of the
| |
| initInternal | back to summary |
|---|---|
| protected void initInternal() throws LifecycleException Implements abstract org. Sub-classes wishing to perform additional initialization should override this method, ensuring that super.initInternal() is the first call in the overriding method.
| |
| postDeregister | back to summary |
|---|---|
| public final void postDeregister() Implements javax. Not used - NOOP.
| |
| postRegister | back to summary |
|---|---|
| public final void postRegister(Boolean registrationDone) Implements javax. Not used - NOOP.
| |
| preDeregister | back to summary |
|---|---|
| public final void preDeregister() throws Exception Implements javax. Not used - NOOP.
| |
| preRegister | back to summary |
|---|---|
| public final ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception Implements javax. Allows the object to be registered with an alternative
| |
| register | back to summary |
|---|---|
| protected final ObjectName register(Object obj, String objectNameKeyProperties) Utility method to enable sub-classes to easily register additional
components that don't implement Note This method should only be used once
| |
| setDomain | back to summary |
|---|---|
| public final void setDomain(String domain) Implements org. Specify the domain under which this component should be registered. Used with components that cannot (easily) navigate the component hierarchy to determine the correct domain to use.
| |
| unregister | back to summary |
|---|---|
| protected final void unregister(String objectNameKeyProperties) Utility method to enable sub-classes to easily unregister additional
components that don't implement Note This method should only be used once
| |
| unregister | back to summary |
|---|---|
| protected final void unregister(ObjectName on) Utility method to enable sub-classes to easily unregister additional
components that don't implement Note This method should only be used once
| |