You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/11/07 06:29:58 UTC

cvs commit: jakarta-avalon-excalibur/fortress/src/test/org/apache/excalibur/fortress/util/test FullLifecycleComponent.java

donaldp     2002/11/06 21:29:58

  Modified:    fortress/src/test/org/apache/excalibur/fortress/util/test
                        FullLifecycleComponent.java
  Log:
  To Serviceable.
  
  Revision  Changes    Path
  1.2       +9 -9      jakarta-avalon-excalibur/fortress/src/test/org/apache/excalibur/fortress/util/test/FullLifecycleComponent.java
  
  Index: FullLifecycleComponent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/src/test/org/apache/excalibur/fortress/util/test/FullLifecycleComponent.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FullLifecycleComponent.java	25 Sep 2002 15:10:53 -0000	1.1
  +++ FullLifecycleComponent.java	7 Nov 2002 05:29:58 -0000	1.2
  @@ -7,14 +7,10 @@
    */
   package org.apache.excalibur.fortress.util.test;
   
  -import org.apache.excalibur.fortress.util.ComponentStateValidator;
   import org.apache.avalon.framework.activity.Disposable;
   import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.activity.Startable;
   import org.apache.avalon.framework.activity.Suspendable;
  -import org.apache.avalon.framework.component.ComponentException;
  -import org.apache.avalon.framework.component.ComponentManager;
  -import org.apache.avalon.framework.component.Composable;
   import org.apache.avalon.framework.configuration.Configurable;
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
  @@ -26,7 +22,11 @@
   import org.apache.avalon.framework.parameters.ParameterException;
   import org.apache.avalon.framework.parameters.Parameterizable;
   import org.apache.avalon.framework.parameters.Parameters;
  +import org.apache.avalon.framework.service.ServiceException;
  +import org.apache.avalon.framework.service.ServiceManager;
  +import org.apache.avalon.framework.service.Serviceable;
   import org.apache.avalon.framework.thread.ThreadSafe;
  +import org.apache.excalibur.fortress.util.ComponentStateValidator;
   
   /**
    * This test class is used to test the AbstractComponent facilities for you.
  @@ -36,7 +36,7 @@
    */
   public final class FullLifecycleComponent
       implements LogEnabled, Contextualizable, Parameterizable, Configurable,
  -    Composable, Initializable, Startable, Suspendable, Disposable,
  +    Serviceable, Initializable, Startable, Suspendable, Disposable,
       ThreadSafe
   {
       private ComponentStateValidator m_validator = new ComponentStateValidator( this );
  @@ -44,7 +44,7 @@
       private Context m_context;
       private Parameters m_parameters;
       private Configuration m_configuration;
  -    private ComponentManager m_componentManager;
  +    private ServiceManager m_componentManager;
   
       public void enableLogging( Logger logger )
       {
  @@ -81,8 +81,8 @@
           m_configuration = config;
       }
   
  -    public void compose( ComponentManager manager )
  -        throws ComponentException
  +    public void service( final ServiceManager manager )
  +        throws ServiceException
       {
           m_validator.checkNotAssigned( m_componentManager );
           m_validator.checkComposed();
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>