|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Lifecycle
Field Summary | |
---|---|
static int |
CONFIG_ERROR
|
static int |
ERROR
|
static int |
INITIALIZED
|
static int |
INITIALIZING
|
static int |
RUNNING
|
static int |
STARTED
|
static int |
STOPPED
|
static int |
STOPPING
|
static int |
UNINITIALIZED
|
Method Summary | |
---|---|
int |
getLifecycleState()
Returns the lifecycle state |
java.lang.String |
getName()
Returns the name of the Lifecycle. |
void |
setName(java.lang.String name)
Sets the name of the Lifecycle. |
void |
start()
Starts the Lifecycle. |
void |
stop()
Stops the Lifecycle. |
Field Detail |
---|
static final int CONFIG_ERROR
static final int UNINITIALIZED
static final int INITIALIZING
static final int INITIALIZED
static final int STARTED
static final int RUNNING
static final int STOPPING
static final int STOPPED
static final int ERROR
Method Detail |
---|
int getLifecycleState()
UNINITIALIZED
,
INITIALIZING
,
INITIALIZED
,
RUNNING
,
STOPPING
,
STOPPED
void start() throws CoreRuntimeException
CoreRuntimeException
void stop() throws CoreRuntimeException
CoreRuntimeException
java.lang.String getName()
void setName(java.lang.String name)
name
- the name of the Lifecycle
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |