org.apache.avalon.excalibur.testcase
Class FullLifecycleComponent

java.lang.Object
  |
  +--org.apache.avalon.excalibur.testcase.FullLifecycleComponent
All Implemented Interfaces:
Configurable, Contextualizable, Disposable, Initializable, LogEnabled, Parameterizable, Serviceable, Startable, Suspendable, ThreadSafe

public final class FullLifecycleComponent
extends Object
implements LogEnabled, Contextualizable, Parameterizable, Configurable, Serviceable, Initializable, Startable, Suspendable, Disposable, ThreadSafe

This test class is used to test the AbstractComponent facilities for you.

Version:
CVS $Revision: 1.1 $ $Date: 2003/03/07 19:34:31 $
Author:
Berin Loritsch

Constructor Summary
FullLifecycleComponent()
           
 
Method Summary
 void configure(Configuration config)
           
 void contextualize(Context context)
           
 void dispose()
           
 void enableLogging(Logger logger)
           
 void initialize()
           
 void parameterize(Parameters params)
           
 void resume()
           
 void service(ServiceManager manager)
           
 void start()
           
 void stop()
           
 void suspend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullLifecycleComponent

public FullLifecycleComponent()
Method Detail

enableLogging

public void enableLogging(Logger logger)
Specified by:
enableLogging in interface LogEnabled

contextualize

public void contextualize(Context context)
                   throws ContextException
Specified by:
contextualize in interface Contextualizable
ContextException

parameterize

public void parameterize(Parameters params)
                  throws ParameterException
Specified by:
parameterize in interface Parameterizable
ParameterException

configure

public void configure(Configuration config)
               throws ConfigurationException
Specified by:
configure in interface Configurable
ConfigurationException

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
ServiceException

initialize

public void initialize()
                throws Exception
Specified by:
initialize in interface Initializable
Exception

start

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

suspend

public void suspend()
Specified by:
suspend in interface Suspendable

resume

public void resume()
Specified by:
resume in interface Suspendable

stop

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

dispose

public void dispose()
Specified by:
dispose in interface Disposable


Copyright © 2000-2002 Apache Jakarta Project. All Rights Reserved.