org.kuali.common.util.inform
Class StartStopInformer
java.lang.Object
org.kuali.common.util.inform.StartStopInformer
public final class StartStopInformer
- extends Object
Method Summary |
Inform |
getInform()
|
boolean |
isStarted()
Indicates if we are in the "started" state |
void |
start()
Make sure we haven't already been started. |
void |
stop()
Make sure we haven't already been stopped. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartStopInformer
public StartStopInformer()
StartStopInformer
public StartStopInformer(Inform inform)
isStarted
public boolean isStarted()
- Indicates if we are in the "started" state
start
public void start()
- Make sure we haven't already been started. Set the started indicator to true. Log the start message. Print the start token.
stop
public void stop()
- Make sure we haven't already been stopped. Set the started indicator to false. Print the stop token. Log the stop message.
getInform
public Inform getInform()
Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.