org.picocontainer.lifecycle
Class DefaultLifecycleState

java.lang.Object
  extended by org.picocontainer.lifecycle.DefaultLifecycleState
All Implemented Interfaces:
Serializable, LifecycleState

public class DefaultLifecycleState
extends Object
implements LifecycleState, Serializable

See Also:
Serialized Form

Constructor Summary
DefaultLifecycleState()
           
 
Method Summary
 void disposed()
           
 void disposing()
          Dispose is normally only allowed if the object has not been already disposed, and it is not started.
 boolean isStarted()
           
 void removingComponent()
           
 void starting()
          Start is normally allowed if the object is constructed or already stopped.
 void stopped()
           
 void stopping()
          Stop is normally only allowed while the current container state is STARTED.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLifecycleState

public DefaultLifecycleState()
Method Detail

removingComponent

public void removingComponent()
Specified by:
removingComponent in interface LifecycleState

starting

public void starting()
Start is normally allowed if the object is constructed or already stopped. It is not allowed if the system is already started or disposed.

Specified by:
starting in interface LifecycleState

stopping

public void stopping()
Stop is normally only allowed while the current container state is STARTED.

Specified by:
stopping in interface LifecycleState

stopped

public void stopped()
Specified by:
stopped in interface LifecycleState

isStarted

public boolean isStarted()
Specified by:
isStarted in interface LifecycleState

disposing

public void disposing()
Dispose is normally only allowed if the object has not been already disposed, and it is not started.

Specified by:
disposing in interface LifecycleState

disposed

public void disposed()
Specified by:
disposed in interface LifecycleState


Copyright © 2003-2010 Codehaus. All Rights Reserved.