jmcnally    02/05/02 09:47:31

  Modified:    src/java/org/apache/torque Torque.java
  Log:
  open up access to the ConnectionPool object.
  
  Revision  Changes    Path
  1.56      +6 -4      jakarta-turbine-torque/src/java/org/apache/torque/Torque.java
  
  Index: Torque.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/Torque.java,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- Torque.java       30 Apr 2002 23:49:48 -0000      1.55
  +++ Torque.java       2 May 2002 16:47:31 -0000       1.56
  @@ -91,7 +91,7 @@
    * @author <a href="mailto:[EMAIL PROTECTED]";>Jason van Zyl</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Rafal Krzewski</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Martin Poeschl</a>
  - * @version $Id: Torque.java,v 1.55 2002/04/30 23:49:48 jon Exp $
  + * @version $Id: Torque.java,v 1.56 2002/05/02 16:47:31 jmcnally Exp $
    */
   public class Torque implements Initializable, Configurable
   {
  @@ -976,15 +976,17 @@
        * This method returns a pool with the specified name.  The pool must
        * either have been registered with the
        * {@link #registerPool(String,String,String,String,String)} method, or be
  -     * specified in the TurbineResources properties. This method is used
  -     * internally by the service.
  +     * specified in the TurbineResources properties.  This method is used
  +     * internally by the service.  Under normal usage it would not be used
  +     * in application code, but is public in the event the pool must be 
  +     * accessed directly, such as to shutdown an individual pool.
        *
        * @param name The name of the pool to get.
        * @return     The requested pool.
        * @throws TorqueException Any exceptions caught during processing will be
        *         rethrown wrapped into a TorqueException.
        */
  -    private static ConnectionPool getPool(String name)
  +    public static ConnectionPool getPool(String name)
           throws TorqueException
       {
           if (name == null)
  
  
  

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

Reply via email to