public class SetupManager
extends java.lang.Object
Constructor and Description |
---|
SetupManager() |
Modifier and Type | Method and Description |
---|---|
SetupParameters |
getSetupParameters()
Return the existing database setup parameters.
|
void |
testConnection(SetupParameters params)
Test the database connection with the parameters given.
|
void |
updateDBConnectionSetupParameters(SetupParameters params)
Update the existing database connection parameters with the given
parameters.
|
public SetupParameters getSetupParameters()
Delegate this task to DBConnectionFactory to perform it and return the value without any modifications.
public void testConnection(SetupParameters params) throws DBConnectionException
params
- The parameters for the database connection.DBConnectionException
- Thrown if the connection fails.public void updateDBConnectionSetupParameters(SetupParameters params) throws DBConnectionException, java.io.IOException
params
- The new database connection parameters.DBConnectionException
- Thrown if the connection fails.java.io.IOException
- Thrown if an error occurs while writing the new
parameters.