|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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). |
java.lang.String |
getName()
Retruns the Catalina component name. |
int |
getState()
Returns the state. |
java.lang.String |
getStateString()
Returns a String representation of the state. |
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean registrationDone)
|
void |
preDeregister()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.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 javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name) throws java.lang.Exception
preRegister
in interface javax.management.MBeanRegistration
java.lang.Exception
public void postRegister(java.lang.Boolean registrationDone)
postRegister
in interface javax.management.MBeanRegistration
public void preDeregister() throws java.lang.Exception
preDeregister
in interface javax.management.MBeanRegistration
java.lang.Exception
public void postDeregister()
postDeregister
in interface javax.management.MBeanRegistration
public java.lang.String getName()
getName
in interface NamingServiceMBean
public int getState()
getState
in interface NamingServiceMBean
public java.lang.String getStateString()
getStateString
in interface NamingServiceMBean
public void start() throws java.lang.Exception
start
in interface NamingServiceMBean
java.lang.Exception
public void stop()
stop
in interface NamingServiceMBean
public void destroy()
destroy
in interface NamingServiceMBean
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |