|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.apache.naming.NamingService
public final class NamingService
Implementation of the NamingService JMX MBean.
Field Summary |
---|
Fields inherited from interface org.apache.naming.NamingServiceMBean |
---|
NAME, OBJECT_NAME, STARTED, STARTING, states, STOPPED, STOPPING |
Constructor Summary | |
---|---|
NamingService()
|
Method Summary | |
---|---|
void |
destroy()
Destroy servlet container (if any is running). |
String |
getName()
Returns the Catalina component name. |
int |
getState()
Returns the state. |
String |
getStateString()
Returns a String representation of the state. |
void |
postDeregister()
|
void |
postRegister(Boolean registrationDone)
|
void |
preDeregister()
|
ObjectName |
preRegister(MBeanServer server,
ObjectName name)
|
void |
start()
Start the servlet container. |
void |
stop()
Stop the servlet container. |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamingService()
Method Detail |
---|
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister
in interface MBeanRegistration
Exception
public void postRegister(Boolean registrationDone)
postRegister
in interface MBeanRegistration
public void preDeregister() throws Exception
preDeregister
in interface MBeanRegistration
Exception
public void postDeregister()
postDeregister
in interface MBeanRegistration
public String getName()
getName
in interface NamingServiceMBean
public int getState()
getState
in interface NamingServiceMBean
public String getStateString()
getStateString
in interface NamingServiceMBean
public void start() throws Exception
start
in interface NamingServiceMBean
Exception
public void stop()
stop
in interface NamingServiceMBean
public void destroy()
destroy
in interface NamingServiceMBean
|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |