Apache Tomcat 7.0.4

org.apache.naming
Interface NamingServiceMBean

All Known Implementing Classes:
NamingService

public interface NamingServiceMBean

Naming MBean interface.

Version:
$Revision: 881575 $
Author:
Remy Maucherat

Field Summary
static String NAME
          Component name.
static String OBJECT_NAME
          Object name.
static int STARTED
           
static int STARTING
           
static String[] states
          Status constants.
static int STOPPED
           
static int STOPPING
           
 
Method Summary
 void destroy()
          Destroy servlet container (if any is running).
 String getName()
          Returns 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.
 

Field Detail

states

static final String[] states
Status constants.


STOPPED

static final int STOPPED
See Also:
Constant Field Values

STOPPING

static final int STOPPING
See Also:
Constant Field Values

STARTING

static final int STARTING
See Also:
Constant Field Values

STARTED

static final int STARTED
See Also:
Constant Field Values

NAME

static final String NAME
Component name.

See Also:
Constant Field Values

OBJECT_NAME

static final String OBJECT_NAME
Object name.

See Also:
Constant Field Values
Method Detail

getName

String getName()
Returns the JNDI component name.


getState

int getState()
Returns the state.


getStateString

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


start

void start()
           throws Exception
Start the servlet container.

Throws:
Exception

stop

void stop()
Stop the servlet container.


destroy

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


Apache Tomcat 7.0.4

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.