org.picocontainer.extras
Class DefaultLifecyclePicoAdaptor

java.lang.Object
  extended byorg.picocontainer.extras.DefaultLifecyclePicoAdaptor
All Implemented Interfaces:
Disposable, Lifecycle, LifecyclePicoAdaptor, Startable, Stoppable

public class DefaultLifecyclePicoAdaptor
extends Object
implements LifecyclePicoAdaptor


Constructor Summary
DefaultLifecyclePicoAdaptor(PicoContainer picoContainer)
           
 
Method Summary
 void dispose()
           
 boolean isDisposed()
           
 boolean isStarted()
           
 boolean isStopped()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLifecyclePicoAdaptor

public DefaultLifecyclePicoAdaptor(PicoContainer picoContainer)
Method Detail

isStarted

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

isStopped

public boolean isStopped()
Specified by:
isStopped in interface LifecyclePicoAdaptor

isDisposed

public boolean isDisposed()
Specified by:
isDisposed in interface LifecyclePicoAdaptor

start

public void start()
           throws Exception
Specified by:
start in interface Startable
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface Stoppable
Throws:
Exception

dispose

public void dispose()
             throws Exception
Specified by:
dispose in interface Disposable
Throws:
Exception


Copyright © 2003 Codehaus. All Rights Reserved.