|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.component.CommonStartStop
public abstract class CommonStartStop
A common implementation of IStartStop. This abstract class
ensures that start and stop procedures are executed only once.
| Constructor Summary | |
|---|---|
CommonStartStop()
|
|
| Method Summary | |
|---|---|
boolean |
isStarted()
Answer true if this object is started |
boolean |
isStopped()
Answer true if this object is stopped |
void |
start()
Start the component lifecycle. |
void |
stop()
Stop the component lifecycle. |
boolean |
stopRequested(Set visited)
Ask the component if it agrees to end its lifecycle at the very moment. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonStartStop()
| Method Detail |
|---|
public final boolean isStarted()
IStartStoptrue if this object is started
isStarted in interface IStartStoptrue if this object is started.public final boolean isStopped()
IStartStoptrue if this object is stopped
isStopped in interface IStartStoptrue if this object is stopped.public final void start()
IStartStop
start in interface IStartStoppublic final void stop()
IStartStop
stop in interface IStartStoppublic boolean stopRequested(Set visited)
IStartStop
stopRequested in interface IStartStopvisited - The optional set of already visited objects in the stop
request cycle.
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||