|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.synchronoss.cpo.jdbc.AbstractDataSourceInfo
org.synchronoss.cpo.jdbc.JndiDataSourceInfo
public class JndiDataSourceInfo
Collects the info required to instantiate a DataSource stored as a JNDI Resource. Provides the DataSourceInfo factory method getDataSource which instantiates the DataSource
| Constructor Summary | |
|---|---|
JndiDataSourceInfo(java.lang.String jndiName)
Creates a JndiDataSourceInfo from a JNDIName that represents the datasource in the application server. |
|
JndiDataSourceInfo(java.lang.String jndiName,
javax.naming.Context ctx)
Creates a JndiDataSourceInfo from a JNDIName that represents the datasource in the application server. |
|
| Method Summary | |
|---|---|
protected javax.sql.DataSource |
createDataSource()
|
| Methods inherited from class org.synchronoss.cpo.jdbc.AbstractDataSourceInfo |
|---|
getDataSource, getDataSourceName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JndiDataSourceInfo(java.lang.String jndiName)
jndiName - The JndiName of the app server datasource
public JndiDataSourceInfo(java.lang.String jndiName,
javax.naming.Context ctx)
jndiName - The JndiName of the app server datasourcectx - - The context for which the Jndi Lookup should use.| Method Detail |
|---|
protected javax.sql.DataSource createDataSource()
throws CpoException
createDataSource in class AbstractDataSourceInfoCpoException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||