org.apache.naming

Class NamingService

public final class NamingService extends NotificationBroadcasterSupport implements NamingServiceMBean, MBeanRegistration

Implementation of the NamingService JMX MBean.

Version: $Revision: 467222 $

Author: Remy Maucherat

Method Summary
voiddestroy()
Destroy servlet container (if any is running).
StringgetName()
Retruns the Catalina component name.
intgetState()
Returns the state.
StringgetStateString()
Returns a String representation of the state.
voidpostDeregister()
voidpostRegister(Boolean registrationDone)
voidpreDeregister()
ObjectNamepreRegister(MBeanServer server, ObjectName name)
voidstart()
Start the servlet container.
voidstop()
Stop the servlet container.

Method Detail

destroy

public void destroy()
Destroy servlet container (if any is running).

getName

public String getName()
Retruns the Catalina component name.

getState

public int getState()
Returns the state.

getStateString

public String getStateString()
Returns a String representation of the state.

postDeregister

public void postDeregister()

postRegister

public void postRegister(Boolean registrationDone)

preDeregister

public void preDeregister()

preRegister

public ObjectName preRegister(MBeanServer server, ObjectName name)

start

public void start()
Start the servlet container.

stop

public void stop()
Stop the servlet container.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.