org.logicalcobwebs.proxool.admin.jndi

Class ProxoolJNDIHelper


public class ProxoolJNDIHelper
extends java.lang.Object

Utilities for Proxool JNDI operations.
Version:
$Revision: 1.3 $, $Date: 2004/06/17 21:33:12 $
Authors:
Christian Nedregaard (christian_nedregaard@email.com)
$Author: billhorsman $ (current maintainer)
Since:
Proxool 0.9

Method Summary

static void
registerDatasource(String alias, Properties jndiProperties)
Create a ProxoolDataSource with the given alias and bind it to JNDI using the given jndi properties.

Method Details

registerDatasource

public static void registerDatasource(String alias,
                                      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.