public class JndiJdbcDataSourceInfo extends AbstractJdbcDataSourceInfo
| Constructor and Description |
|---|
JndiJdbcDataSourceInfo(String jndiName)
Creates a JndiJdbcDataSourceInfo from a JNDIName that represents the datasource in the application server.
|
JndiJdbcDataSourceInfo(String jndiName,
Context ctx)
Creates a JndiJdbcDataSourceInfo from a JNDIName that represents the datasource in the application server.
|
| Modifier and Type | Method and Description |
|---|---|
protected DataSource |
createDataSource() |
getDataSource, getDataSourceNamepublic JndiJdbcDataSourceInfo(String jndiName)
jndiName - The JndiName of the app server datasourcepublic JndiJdbcDataSourceInfo(String jndiName, Context ctx)
jndiName - The JndiName of the app server datasourcectx - - The context for which the Jndi Lookup should use.protected DataSource createDataSource() throws CpoException
createDataSource in class AbstractDataSourceInfoCpoExceptionCopyright © 2014. All Rights Reserved.