You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by le...@apache.org on 2002/04/10 07:37:03 UTC
cvs commit: jakarta-avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component PoolableComponentHandler.java
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:bloritsch@apache.org">Berin Loritsch</a>
* @author <a href="mailto:leif@tanukisoftware.com">Leif Mortenson</a>
* @author <a href="mailto:ryan@silveregg.co.jp">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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>