Top Description Methods
org.apache.catalina

public Interface JmxEnabled

extends MBeanRegistration
Known Direct Implementers
org.apache.catalina.util.LifecycleMBeanBase
Imports
javax.management.MBeanRegistration, .ObjectName

This interface is implemented by components that will be registered with an MBean server when they are created and unregistered when they are destroyed. It is primarily intended to be implemented by components that implement Lifecycle but is not exclusively for them.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the domain under which this component will be / has been registered.
getDomain
()

public ObjectName

Returns:

the name under which this component has been registered with JMX.
getObjectName
()

public void
setDomain(String
The name of the domain under which this component should be registered
domain
)

Specify the domain under which this component should be registered.

Inherited from javax.management.MBeanRegistration:
postDeregisterpostRegisterpreDeregisterpreRegister

Method Detail

getDomainback to summary
public String getDomain()
Returns:String

the domain under which this component will be / has been registered.

getObjectNameback to summary
public ObjectName getObjectName()
Returns:ObjectName

the name under which this component has been registered with JMX.

setDomainback to summary
public void setDomain(String domain)

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.

Parameters
domain:String

The name of the domain under which this component should be registered