com.ibm.websphere.rsadapter

Class ProxyDataSource

  1. java.lang.Object
  2. extended bycom.ibm.websphere.rsadapter.ProxyDataSource

  1. public class ProxyDataSource
  2. 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

Modifier and Type Field and Description
  1. protected
  2. java.lang.String[]
jndiNameArray
The delegate datasource JNDI name array

Constructor Summary

Constructor and Description
ProxyDataSource()

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getJndiNames()
  1. boolean
isJndiNameFound(java.lang.String jndiName)
Check whether the jndiName is found in the delegate datasource JNDI name array.
  1. 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

Field Detail

jndiNameArray

  1. protected java.lang.String[] jndiNameArray
The delegate datasource JNDI name array

Constructor Detail

ProxyDataSource

  1. public ProxyDataSource()

Method Detail

setJndiNames

  1. public void setJndiNames(java.lang.String jndiNames)
Set the JNDI names of datasources that this proxy routes to.
Parameters:
jndiNames -

isJndiNameFound

  1. 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

  1. public java.lang.String getJndiNames( )
Returns:
the JNDI name arrays