|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.picocontainer.lifecycle.DefaultLifecycleState
public class DefaultLifecycleState
Bean-like implementation of LifecycleState.
Constructor Summary | |
---|---|
DefaultLifecycleState()
|
Method Summary | |
---|---|
void |
disposed()
Turns the lifecycle state to completely disposed. |
void |
disposing()
Turns the lifecycle state to indicate that the dispose() process is being executed on the container. |
boolean |
isConstructed()
Returns true if no other state has been triggered so far. |
boolean |
isDisposed()
Checks if the current lifecycle is disposed. |
boolean |
isStarted()
Checks if current lifecycle is started. |
boolean |
isStopped()
Checks if the current lifecyle is stopped. |
void |
removingComponent()
Lifecycle state for when a component is being removed. |
void |
starting()
Start is normally allowed if the object is constructed or already stopped. |
void |
stopped()
Lifecycle state for when stop has been completed. |
void |
stopping()
Lifecycle state for when the container is being stopped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLifecycleState()
Method Detail |
---|
public void removingComponent()
removingComponent
in interface LifecycleState
public void starting()
starting
in interface LifecycleState
public void stopping()
stopping
in interface LifecycleState
public void stopped()
stopped
in interface LifecycleState
public boolean isStarted()
isStarted
in interface LifecycleState
public void disposing()
disposing
in interface LifecycleState
public void disposed()
disposed
in interface LifecycleState
public boolean isDisposed()
isDisposed
in interface LifecycleState
public boolean isStopped()
isStopped
in interface LifecycleState
public boolean isConstructed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |