com.ibm.websphere.rsadapter
Class ProxyDataSource
- java.lang.Object
com.ibm.websphere.rsadapter.ProxyDataSource
- public class ProxyDataSource
- extends java.lang.Object
Field Summary
Modifier and Type | Field and Description |
---|---|
|
jndiNameArray
The delegate datasource JNDI name array
|
Constructor Summary
Constructor and Description |
---|
ProxyDataSource()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getJndiNames()
|
|
isJndiNameFound(java.lang.String jndiName)
Check whether the jndiName is found in the delegate datasource JNDI name array.
|
|
setJndiNames(java.lang.String jndiNames)
Set the JNDI names of datasources that this proxy routes to.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
jndiNameArray
- protected java.lang.String[] jndiNameArray
The delegate datasource JNDI name array
Constructor Detail
ProxyDataSource
- public ProxyDataSource()
Method Detail
setJndiNames
- public void setJndiNames(java.lang.String jndiNames)
Set the JNDI names of datasources that this proxy routes to.
Parameters:
jndiNames
- isJndiNameFound
- public boolean isJndiNameFound( java.lang.String jndiName)
Check whether the jndiName is found in the delegate datasource JNDI name array.
Parameters:
jndiName
- Returns:
true if the jndiName is found in the array; false otherwise.
getJndiNames
- public java.lang.String getJndiNames( )
Returns:
the JNDI name arrays