org.apache.naming

Interface NamingServiceMBean

public interface NamingServiceMBean

Naming MBean interface.

Version: $Revision: 467222 $

Author: Remy Maucherat

Field Summary
static StringNAME
Component name.
static StringOBJECT_NAME
Object name.
static String[]states
Status constants.
static intSTARTED
static intSTARTING
static intSTOPPED
static intSTOPPING
Method Summary
voiddestroy()
Destroy servlet container (if any is running).
StringgetName()
Retruns the JNDI component name.
intgetState()
Returns the state.
StringgetStateString()
Returns a String representation of the state.
voidstart()
Start the servlet container.
voidstop()
Stop the servlet container.

Field Detail

NAME

public static final String NAME
Component name.

OBJECT_NAME

public static final String OBJECT_NAME
Object name.

states

public static final String[] states
Status constants.

STARTED

public static final int STARTED

STARTING

public static final int STARTING

STOPPED

public static final int STOPPED

STOPPING

public static final int STOPPING

Method Detail

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()
Start the servlet container.

stop

public void stop()
Stop the servlet container.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.