1 /*
2 * Created on May 28, 2005
3 *
4 * A LifecycleAware component in TheLittleContainer framework.
5 */
6 package net.sf.tlc.core;
7
8 /***
9 * A LifecycleAware component in TheLittleContainer framework.
10 *
11 * @author aisrael
12 */
13 public interface LifecycleAware {
14
15 /***
16 * Starts the component.
17 */
18 void start();
19
20 /***
21 * @return true if this component is still running.
22 */
23 boolean isRunning();
24
25 /***
26 * Stops the component.
27 */
28 void stop();
29
30 }