|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.qos.logback.core.LifeCycleManager
public class LifeCycleManager
An object that manages a collection of components that implement the
LifeCycle
interface. Each component that is added to the manager
will be stopped and removed from the manager when the manager is reset.
Constructor Summary | |
---|---|
LifeCycleManager()
|
Method Summary | |
---|---|
void |
register(LifeCycle component)
Registers a component with this manager. |
void |
reset()
Resets this manager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LifeCycleManager()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |