public interface LifeCycle
void start() throws Exception
Exception
- An arbitrary exception may be thrown.void stop() throws InterruptedException
InterruptedException
- Stopping a lifecycle is rarely atomic
and may be interrupted by another thread. If this happens
InterruptedException is throw and the component will be in an
indeterminant state and should probably be discarded.boolean isStarted()
Copyright © 2013. All Rights Reserved.