org.apache.naming
Interface NamingServiceMBean
- NamingService
public interface NamingServiceMBean
Naming MBean interface.
Version:
- Remy Maucherat
void | destroy() - Destroy servlet container (if any is running).
|
String | getName() - Retruns the JNDI component name.
|
int | getState() - Returns the state.
|
String | getStateString() - Returns a String representation of the state.
|
void | start() - Start the servlet container.
|
void | stop() - Stop the servlet container.
|
NAME
public static final String NAME
Component name.
OBJECT_NAME
public static final String OBJECT_NAME
Object name.
STARTED
public static final int STARTED
- 3
STARTING
public static final int STARTING
- 2
STOPPED
public static final int STOPPED
- 0
STOPPING
public static final int STOPPING
- 1
states
public static final String[] states
Status constants.
destroy
public void destroy()
Destroy servlet container (if any is running).
getName
public String getName()
Retruns the JNDI component name.
getState
public int getState()
Returns the state.
getStateString
public String getStateString()
Returns a String representation of the state.
start
public void start()
throws Exception
Start the servlet container.
stop
public void stop()
Stop the servlet container.
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.