public class DataSourceConfiguration extends Object implements Serializable
| Constructor and Description | 
|---|
DataSourceConfiguration()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addJdbcDataSource(int index,
                 JdbcDataSource vJdbcDataSource)  | 
void | 
addJdbcDataSource(JdbcDataSource vJdbcDataSource)  | 
Enumeration<JdbcDataSource> | 
enumerateJdbcDataSource()
Method enumerateJdbcDataSource. 
 | 
boolean | 
equals(Object obj)
Overrides the Object.equals method. 
 | 
ConnectionPool | 
getConnectionPool()
Returns the value of field 'connectionPool'. 
 | 
JdbcDataSource[] | 
getJdbcDataSource()
Method getJdbcDataSource.Returns the contents of the collection in an
 Array. 
 | 
JdbcDataSource | 
getJdbcDataSource(int index)
Method getJdbcDataSource. 
 | 
List<JdbcDataSource> | 
getJdbcDataSourceCollection()
Method getJdbcDataSourceCollection.Returns a reference to
 'jdbcDataSourceList'. 
 | 
int | 
getJdbcDataSourceCount()
Method getJdbcDataSourceCount. 
 | 
int | 
hashCode()
Method hashCode. 
 | 
Iterator<JdbcDataSource> | 
iterateJdbcDataSource()
Method iterateJdbcDataSource. 
 | 
void | 
removeAllJdbcDataSource()  | 
boolean | 
removeJdbcDataSource(JdbcDataSource vJdbcDataSource)
Method removeJdbcDataSource. 
 | 
JdbcDataSource | 
removeJdbcDataSourceAt(int index)
Method removeJdbcDataSourceAt. 
 | 
void | 
setConnectionPool(ConnectionPool connectionPool)
Sets the value of field 'connectionPool'. 
 | 
void | 
setJdbcDataSource(int index,
                 JdbcDataSource vJdbcDataSource)  | 
void | 
setJdbcDataSource(JdbcDataSource[] vJdbcDataSourceArray)  | 
void | 
setJdbcDataSource(List<JdbcDataSource> vJdbcDataSourceList)
Sets the value of 'jdbcDataSourceList' by copying the given Vector. 
 | 
void | 
setJdbcDataSourceCollection(List<JdbcDataSource> jdbcDataSourceList)
Deprecated.   
 | 
public void addJdbcDataSource(JdbcDataSource vJdbcDataSource) throws IndexOutOfBoundsException
vJdbcDataSource - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic void addJdbcDataSource(int index,
                              JdbcDataSource vJdbcDataSource)
                       throws IndexOutOfBoundsException
index - vJdbcDataSource - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic Enumeration<JdbcDataSource> enumerateJdbcDataSource()
public boolean equals(Object obj)
public ConnectionPool getConnectionPool()
public JdbcDataSource getJdbcDataSource(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic JdbcDataSource[] getJdbcDataSource()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<JdbcDataSource> getJdbcDataSourceCollection()
public int getJdbcDataSourceCount()
public int hashCode()
public Iterator<JdbcDataSource> iterateJdbcDataSource()
public void removeAllJdbcDataSource()
public boolean removeJdbcDataSource(JdbcDataSource vJdbcDataSource)
vJdbcDataSource - public JdbcDataSource removeJdbcDataSourceAt(int index)
index - public void setConnectionPool(ConnectionPool connectionPool)
connectionPool - the value of field 'connectionPool'.public void setJdbcDataSource(int index,
                              JdbcDataSource vJdbcDataSource)
                       throws IndexOutOfBoundsException
index - vJdbcDataSource - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic void setJdbcDataSource(JdbcDataSource[] vJdbcDataSourceArray)
vJdbcDataSourceArray - public void setJdbcDataSource(List<JdbcDataSource> vJdbcDataSourceList)
vJdbcDataSourceList - the Vector to copy.public void setJdbcDataSourceCollection(List<JdbcDataSource> jdbcDataSourceList)
jdbcDataSourceList - the Vector to set.Copyright © 2021. All rights reserved.