public class JdbcConnectionDefinitionManager extends Object
Constructor and Description |
---|
JdbcConnectionDefinitionManager()
Initializes the instance by loading the database connection information from the configuration storage.
|
JdbcConnectionDefinitionManager(String node) |
Modifier and Type | Method and Description |
---|---|
JdbcConnectionDefinition[] |
getSources()
Returns a copy of the current list of JNDI sources
|
void |
removeSource(String name)
Removes the specified connection-definition from the list of connections.
|
boolean |
updateSourceList(JdbcConnectionDefinition source)
Adds or updates the source list with the specified source entry.
|
public JdbcConnectionDefinitionManager()
public JdbcConnectionDefinitionManager(String node)
public JdbcConnectionDefinition[] getSources()
public void removeSource(String name)
name
- the name of the JNDI source to remove from the listpublic boolean updateSourceList(JdbcConnectionDefinition source)
source
- the entry to add/update in the listIllegalArgumentException
- indicates the source is null
Copyright © 2019 Hitachi Vantara. All rights reserved.