|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.test.lifecycle.StartableComponent
public class StartableComponent
Test component that provides feedback on the application of lifecycle stages handled by the container.
Constructor Summary | |
---|---|
StartableComponent(Logger logger)
Creation of a new startable component instance. |
Method Summary | |
---|---|
void |
start()
Start the component. |
void |
stop()
Stop the component. |
boolean |
wasStarted()
Utility to test if the component was stated (used in JUnit test). |
boolean |
wasStopped()
Utility to test if the component was stopped (used in JUnit test). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StartableComponent(Logger logger)
logger
- the assingned logging channelMethod Detail |
---|
public void start()
public void stop()
public boolean wasStarted()
public boolean wasStopped()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |