avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/handler AbstractComponentHandler.java FactoryComponentHandler.java PerThreadComponentHandler.java
Date Fri, 08 Nov 2002 00:19:04 GMT
donaldp     2002/11/07 16:19:04

  Modified:    fortress/src/java/org/apache/excalibur/fortress/handler
                        AbstractComponentHandler.java
                        FactoryComponentHandler.java
                        PerThreadComponentHandler.java
  Log:
  Remove null method implements and push it up to superclass.
  
  Revision  Changes    Path
  1.21      +9 -3      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.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- AbstractComponentHandler.java	8 Nov 2002 00:16:56 -0000	1.20
  +++ AbstractComponentHandler.java	8 Nov 2002 00:19:04 -0000	1.21
  @@ -189,8 +189,14 @@
           m_initialized = true;
       }
   
  -    protected abstract void doInitialize()
  -        throws Exception;
  +    /**
  +     * Initialize the ComponentHandler.
  +     * Subclasses should overide this to do their own initialization.
  +     */
  +    protected void doInitialize()
  +        throws Exception
  +    {
  +    }
   
       /**
        * Get a reference of the desired Component
  
  
  
  1.30      +1 -9      jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/handler/FactoryComponentHandler.java
  
  Index: FactoryComponentHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/handler/FactoryComponentHandler.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- FactoryComponentHandler.java	8 Nov 2002 00:16:56 -0000	1.29
  +++ FactoryComponentHandler.java	8 Nov 2002 00:19:04 -0000	1.30
  @@ -85,14 +85,6 @@
       }
   
       /**
  -     * Initialize the ComponentHandler.
  -     */
  -    protected void doInitialize()
  -        throws Exception
  -    {
  -    }
  -
  -    /**
        * Get a reference of the desired Component
        */
       protected Object doGet()
  
  
  
  1.33      +1 -6      jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/handler/PerThreadComponentHandler.java
  
  Index: PerThreadComponentHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/handler/PerThreadComponentHandler.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- PerThreadComponentHandler.java	8 Nov 2002 00:16:56 -0000	1.32
  +++ PerThreadComponentHandler.java	8 Nov 2002 00:19:04 -0000	1.33
  @@ -88,11 +88,6 @@
           setInstrumentableName( "PerThreadComponentHandler" );
       }
   
  -    protected void doInitialize()
  -        throws Exception
  -    {
  -    }
  -
       /**
        * Get a reference of the desired Component
        */
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message