|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LifeCycleMBean is a base interface that defines standard life cycle controls for JBI implementation services (which are implementation-specific), and JBI components (bindings and engines).
Field Summary | |
static java.lang.String |
RUNNING
Value returned by getCurrentState() for a running component. |
static java.lang.String |
SHUTDOWN
Value returned by getCurrentState() for a shutdown component. |
static java.lang.String |
STOPPED
Value returned by getCurrentState() for a stopped component. |
static java.lang.String |
UNKNOWN
Value returned by getCurrentState() for a component in an
unknown state. |
Method Summary | |
java.lang.String |
getCurrentState()
Get the current state of this managed compononent. |
void |
shutDown()
Shut down the item. |
void |
start()
Start the item. |
void |
stop()
Stop the item. |
Field Detail |
public static final java.lang.String SHUTDOWN
getCurrentState()
for a shutdown component.
public static final java.lang.String STOPPED
getCurrentState()
for a stopped component.
public static final java.lang.String RUNNING
getCurrentState()
for a running component.
public static final java.lang.String UNKNOWN
getCurrentState()
for a component in an
unknown state.
Method Detail |
public void start() throws JBIException
JBIException
- if the item fails to start.public void stop() throws JBIException
JBIException
- if the item fails to stop.public void shutDown() throws JBIException
JBIException
- if the item fails to shut down.public java.lang.String getCurrentState()
|
Built 06/07/2005 11:16 AM on acer (SunOS 5.9) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |