Class ProxoolJNDIHelper


  • public class ProxoolJNDIHelper
    extends java.lang.Object
    Utilities for Proxool JNDI operations.
    Since:
    Proxool 0.9
    Version:
    $Revision: 1.3 $, $Date: 2004/06/17 21:33:12 $
    Author:
    Christian Nedregaard (christian_nedregaard@email.com), $Author: billhorsman $ (current maintainer)
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void registerDatasource​(java.lang.String alias, java.util.Properties jndiProperties)
      Create a ProxoolDataSource with the given alias and bind it to JNDI using the given jndi properties.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • registerDatasource

        public static void registerDatasource​(java.lang.String alias,
                                              java.util.Properties jndiProperties)
                                       throws ProxoolException
        Create a ProxoolDataSource with the given alias and bind it to JNDI using the given jndi properties.
        Parameters:
        jndiProperties - the jndi related configuration properties.
        Throws:
        ProxoolException - if the JNDI binding failes.