org.apache.naming

Interface NamingServiceMBean

Known Implementing Classes:
NamingService

public interface NamingServiceMBean

Naming MBean interface.

Version:
$Revision: 1.2 $

Author:
Remy Maucherat

Field Summary

static String
NAME
Component name.
static String
OBJECT_NAME
Object name.
static int
STARTED
static int
STARTING
static int
STOPPED
static int
STOPPING
static String[]
states
Status constants.

Method Summary

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.

Field Details

NAME

public static final String NAME
Component name.


OBJECT_NAME

public static final String OBJECT_NAME
Object name.


STARTED

public static final int STARTED

Field Value:
3


STARTING

public static final int STARTING

Field Value:
2


STOPPED

public static final int STOPPED

Field Value:
0


STOPPING

public static final int STOPPING

Field Value:
1


states

public static final String[] states
Status constants.

Method Details

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.