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() |
Modifier and Type | Method and Description |
---|---|
void |
register(LifeCycle component)
Registers a component with this manager.
|
void |
reset()
Resets this manager.
|
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.
Copyright © 2010 - 2020 Adobe. All Rights Reserved