leif        02/04/09 22:37:02

  Modified:    component/src/java/org/apache/avalon/excalibur/component
                        PoolableComponentHandler.java
  Log:
  Make it possible for subclasses to access the pool.
  
  Revision  Changes    Path
  1.2       +11 -1     
jakarta-avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/PoolableComponentHandler.java
  
  Index: PoolableComponentHandler.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/PoolableComponentHandler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PoolableComponentHandler.java     4 Apr 2002 05:09:02 -0000       1.1
  +++ PoolableComponentHandler.java     10 Apr 2002 05:37:02 -0000      1.2
  @@ -82,7 +82,7 @@
    * @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Leif Mortenson</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Ryan Shaw</a>
  - * @version CVS $Revision: 1.1 $ $Date: 2002/04/04 05:09:02 $
  + * @version CVS $Revision: 1.2 $ $Date: 2002/04/10 05:37:02 $
    * @since 4.0
    */
   public class PoolableComponentHandler extends ComponentHandler
  @@ -222,5 +222,15 @@
           }
   
           m_disposed = true;
  +    }
  +    
  +    /**
  +     * Gives subclasses access to the pool.
  +     *
  +     * @return The internal pool
  +     */
  +    protected ResourceLimitingPool getPool()
  +    {
  +        return m_pool;
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to