public class LifeCycleManager
extends java.lang.Object
LifeCycle
interface. Each component that is added to the manager
will be stopped and removed from the manager when the manager is reset.Constructor and Description |
---|
LifeCycleManager() |
public void register(LifeCycle component)
component
- the component whose life cycle is to be managedpublic void reset()
All registered components are stopped and removed from the manager.