|
|||||||||
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 | |
---|---|
protected void |
basicStart()
Start the component lifecycle. |
protected void |
basicStop()
Stop the component lifecycle. |
boolean |
isStarted()
Answer true if this object is started |
void |
start()
Start the component lifecycle. |
void |
stop()
Stop the component lifecycle. |
boolean |
stopRequested(java.util.Set visited)
Ask the component if it agrees to end its lifecycle at the very moment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommonStartStop()
Method Detail |
---|
protected void basicStart()
protected void basicStop()
public final boolean isStarted()
IStartStop
true
if this object is started
isStarted
in interface IStartStop
true
if this object is started.public final void start()
IStartStop
start
in interface IStartStop
public final void stop()
IStartStop
stop
in interface IStartStop
public boolean stopRequested(java.util.Set visited)
IStartStop
stopRequested
in interface IStartStop
visited
- The optional set of already visited objects in the stop
request cycle.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |