public interface JDBCDataSources
JDBCDataSource
s (database pools)Modifier and Type | Method and Description |
---|---|
JDBCDataSource |
dataSource(String host)
Attempts to retrieve the
JDBCDataSource for the specified DNS host name |
JDBCDataSource |
defaultDataSource()
Retrieves the default
JDBCDataSource if one is available. |
JDBCDataSource defaultDataSource()
JDBCDataSource
if one is available.JDBCDataSource
if one is available, null otherwiseJDBCDataSource dataSource(String host)
JDBCDataSource
for the specified DNS host namehost
- The host name to find a JDBCDataSource
forJDBCDataSource
instance or null if no match found for the specified host