public class LifeCycleApp
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
private class |
LifeCycleApp.SendInfo
sending an info message and die after that .
|
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<LifeCycleAgent> |
agentList |
private boolean |
connected |
private boolean |
running |
Constructor and Description |
---|
LifeCycleApp() |
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
setLifeCycleAgent(LifeCycleAgent aAgent)
add a agent to the listener.
|
void |
stop()
stop the running App.
|
java.util.List<LifeCycleAgent> agentList
private boolean running
private boolean connected
public final void setLifeCycleAgent(LifeCycleAgent aAgent)
aAgent
- an life cycle agentpublic final void run()
run
in interface java.lang.Runnable
public final void stop()