org.apache.naming
public interface NamingServiceMBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Component name.
|
static java.lang.String |
OBJECT_NAME
Object name.
|
static int |
STARTED |
static int |
STARTING |
static java.lang.String[] |
states
Status constants.
|
static int |
STOPPED |
static int |
STOPPING |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy servlet container (if any is running).
|
java.lang.String |
getName()
Retruns the JNDI component name.
|
int |
getState()
Returns the state.
|
java.lang.String |
getStateString()
Returns a String representation of the state.
|
void |
start()
Start the servlet container.
|
void |
stop()
Stop the servlet container.
|
static final java.lang.String[] states
static final int STOPPED
static final int STOPPING
static final int STARTING
static final int STARTED
static final java.lang.String NAME
static final java.lang.String OBJECT_NAME
java.lang.String getName()
int getState()
java.lang.String getStateString()
void start() throws java.lang.Exception
java.lang.Exception
void stop()
void destroy()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.