Top Description Fields Constructors Methods
ch.qos.logback.core

public Class LifeCycleManager

extends Object
Class Inheritance
Imports
java.util.HashSet, .Set, ch.qos.logback.core.spi.LifeCycle

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.
Author
Carl Harris

Field Summary

Modifier and TypeField and Description
private final Set<LifeCycle>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
register(LifeCycle
the component whose life cycle is to be managed
component
)

Registers a component with this manager.

public void
reset()

Resets this manager.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

componentsback to summary
private final Set<LifeCycle> components

Constructor Detail

LifeCycleManagerback to summary
public LifeCycleManager()

Method Detail

registerback to summary
public void register(LifeCycle component)

Registers a component with this manager.

Parameters
component:LifeCycle

the component whose life cycle is to be managed

resetback to summary
public void reset()

Resets this manager.

All registered components are stopped and removed from the manager.