|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.rsadapter.WSProxyDSJNDINameAccessor
public class WSProxyDSJNDINameAccessor
This class provides the access to the mapping from the Proxy DataSource JNDI name to the Delegate DataSource JNDI name. This class contains a Map which is keyed on the Proxy DataSource JNDI name. The values of this map contain the JNDI names of the Delegate DataSources.
There are two helper methods in this interface.
Constructor Summary | |
---|---|
WSProxyDSJNDINameAccessor()
|
Method Summary | |
---|---|
static java.lang.String |
getCurrentDataSourceJndiName(java.lang.String proxyJndiName)
Get the current Delegate DataSource JNDI name for a particular Proxy Datasource from the map. |
static void |
setCurrentDataSourceJndiName(java.lang.String proxyJndiName,
java.lang.String dsJndiName)
Set the current Delegate DataSource JNDI name for a particular Proxy Datasource to the map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSProxyDSJNDINameAccessor()
Method Detail |
---|
public static void setCurrentDataSourceJndiName(java.lang.String proxyJndiName, java.lang.String dsJndiName)
proxyJndiName
- the JNDI name of the proxy datasourcedsJndiName
- the JNDI name of the delegate datasourcepublic static java.lang.String getCurrentDataSourceJndiName(java.lang.String proxyJndiName) throws NoDataSourceJNDINameException
proxyJndiName
- the JNDI name of the Proxy DataSource
NoDataSourceJNDINameException
- if no Delegate Datasource
JNDI name is set for this Proxy DataSource.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |