public interface LifeCycle
void start() throws java.lang.Exception
java.lang.Exception
- An arbitrary exception may be thrown.void stop() throws java.lang.InterruptedException
java.lang.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 © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.