com.ibm.websphere.rsadapter
Class ProxyDataSource
java.lang.Object
com.ibm.websphere.rsadapter.ProxyDataSource
- public class ProxyDataSource
- extends java.lang.Object
This class is used to configure the Proxy DataSource. When a user creates
a Proxy DataSource JDBC provider, this class will be used as the datasource
implementation class for the Proxy DataSource JDBC prvovider.
Field Summary |
protected java.lang.String[] |
jndiNameArray
The delegate datasource JNDI name array |
Method Summary |
java.lang.String |
getJndiNames()
|
boolean |
isJndiNameFound(java.lang.String jndiName)
Check whether the jndiName is found in the delegate datasource JNDI name array. |
void |
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 |
jndiNameArray
protected java.lang.String[] jndiNameArray
- The delegate datasource JNDI name array
ProxyDataSource
public ProxyDataSource()
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