|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Catalina MBean interface. To be used, the JAR containing this MBean should contain all the classes which are present in bootstrap.jar. The setPath(String path) method should be used to set the correct path where the Tomcat distribution is.
Field Summary | |
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
|
Method Summary | |
void |
destroy()
Destroy servlet container (if any is running). |
java.lang.String |
getName()
Retruns the Catalina component name. |
java.lang.String |
getPath()
Path accessor. |
int |
getState()
Returns the state. |
java.lang.String |
getStateString()
Returns a String representation of the state. |
void |
setPath(java.lang.String Path)
Path mutator. |
void |
start()
Start the servlet container. |
void |
stop()
Stop the servlet container. |
Field Detail |
public static final java.lang.String[] states
public static final int STOPPED
public static final int STOPPING
public static final int STARTING
public static final int STARTED
public static final java.lang.String NAME
public static final java.lang.String OBJECT_NAME
Method Detail |
public java.lang.String getName()
public int getState()
public java.lang.String getStateString()
public java.lang.String getPath()
public void setPath(java.lang.String Path)
public void start() throws java.lang.Exception
java.lang.Exception
public void stop()
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |