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/08 00:51:24 UTC

cvs commit: jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/handler AbstractComponentHandler.java

donaldp     2002/11/07 15:51:24

  Modified:    fortress/src/java/org/apache/excalibur/fortress/handler
                        AbstractComponentHandler.java
  Log:
  Directly implement Initializable/Disposable and remove abstract Initialize method (that inherited from initializable anyways).
  
  Revision  Changes    Path
  1.18      +3 -8      jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/handler/AbstractComponentHandler.java
  
  Index: AbstractComponentHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/handler/AbstractComponentHandler.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- AbstractComponentHandler.java	7 Nov 2002 23:46:48 -0000	1.17
  +++ AbstractComponentHandler.java	7 Nov 2002 23:51:24 -0000	1.18
  @@ -51,6 +51,7 @@
   
   import org.apache.avalon.excalibur.logger.LoggerManager;
   import org.apache.avalon.framework.activity.Disposable;
  +import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.context.Context;
   import org.apache.avalon.framework.logger.Logger;
  @@ -72,7 +73,7 @@
    */
   public abstract class AbstractComponentHandler
       extends AbstractInstrumentable
  -    implements ComponentHandler, Disposable
  +    implements Initializable, Disposable, ComponentHandler
   {
       /**
        * The instance of the ComponentFactory that creates and disposes of the
  @@ -164,12 +165,6 @@
       {
           return m_isLazy;
       }
  -
  -    /**
  -     * Initialize the ComponentHandler.
  -     */
  -    public abstract void initialize()
  -        throws Exception;
   
       /**
        * Get a reference of the desired Component
  
  
  

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