org.picocontainer.lifecycle
Interface LifecycleState

All Known Implementing Classes:
DefaultLifecycleState

public interface LifecycleState

Current lifecycle state of the container.

Author:
Michael Rimov

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.
 

Method Detail

removingComponent

void removingComponent()

starting

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.


stopping

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


stopped

void stopped()

isStarted

boolean isStarted()

disposing

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


disposed

void disposed()


Copyright © 2003-2010 Codehaus. All Rights Reserved.