public interface LifeCycleMBean
| Modifier and Type | Field and Description |
|---|---|
static String |
SHUTDOWN
Value returned by
getCurrentState() for a shutdown component. |
static String |
STARTED
Value returned by
getCurrentState() for a running component. |
static String |
STOPPED
Value returned by
getCurrentState() for a stopped component. |
static String |
UNKNOWN
Value returned by
getCurrentState() for a component in an
unknown state. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static final String SHUTDOWN
getCurrentState() for a shutdown component.static final String STOPPED
getCurrentState() for a stopped component.static final String STARTED
getCurrentState() for a running component.static final String UNKNOWN
getCurrentState() for a component in an
unknown state.void start()
throws JBIException
JBIException - if the item fails to start.void stop()
throws JBIException
JBIException - if the item fails to stop.void shutDown()
throws JBIException
JBIException - if the item fails to shut down.String getCurrentState()
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.