org.logicalcobwebs.proxool.admin.jndi
public class ProxoolJNDIHelper extends java.lang.Object
Modifier and Type | Method and 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. |
public static void registerDatasource(java.lang.String alias, java.util.Properties jndiProperties) throws ProxoolException
ProxoolDataSource
with the given alias
and bind it to JNDI using the given jndi properties.jndiProperties
- the jndi related configuration properties.ProxoolException
- if the JNDI binding failes.