org.logicalcobwebs.proxool.admin.jndi
Class ProxoolJNDIHelper

java.lang.Object
  extended by org.logicalcobwebs.proxool.admin.jndi.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)

Constructor Summary
private ProxoolJNDIHelper()
           
 
Method Summary
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
 

Constructor Detail

ProxoolJNDIHelper

private ProxoolJNDIHelper()
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.