org.apache.felix.scr.impl.manager
Class AbstractComponentManager.State
java.lang.Object
org.apache.felix.scr.impl.manager.AbstractComponentManager.State
- Direct Known Subclasses:
- AbstractComponentManager.Activating, AbstractComponentManager.Deactivating, AbstractComponentManager.Disabled, AbstractComponentManager.Disabling, AbstractComponentManager.Disposed, AbstractComponentManager.Disposing, AbstractComponentManager.Enabling, AbstractComponentManager.Satisfied, AbstractComponentManager.Unsatisfied
- Enclosing class:
- AbstractComponentManager
protected abstract static class AbstractComponentManager.State
- extends Object
There are 12 states in all. They are: Disabled, Unsatisfied,
Registered, Factory, Active, Disposed, as well as the transient states
Enabling, Activating, Deactivating, Disabling, and Disposing.
The Registered, Factory, FactoryInstance and Active states are the
"Satisfied" state in concept. The tansient states will be changed to
other states automatically when work is done.
The transition cases are listed below.
- Disabled -(enable/ENABLING) -> Unsatisifed
- Disabled -(dispose/DISPOSING)-> Disposed
- Unsatisfied -(activate/ACTIVATING, SUCCESS) -> Satisfied(Registered, Factory or Active)
- Unsatisfied -(activate/ACTIVATING, FAIL) -> Unsatisfied
- Unsatisfied -(disable/DISABLING) -> Disabled
- Registered -(getService, SUCCESS) -> Active
- Registered -(getService, FAIL) -> Unsatisfied
- Satisfied -(deactivate/DEACTIVATING)-> Unsatisfied
AbstractComponentManager.State
protected AbstractComponentManager.State(String name,
int state)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011 Apache Software Foundation. All Rights Reserved.