public class SetRepositoryParameterAction extends JDBCAction
NOLOGCONTINUE_ON_ERROR, m_defaultOptions, m_optionsAPPEND_LOG, DATABASE_TYPE, DATABASE_URL, DB_USER_NAME, DB_USER_PASSWORD, DOMAIN_TYPE, ENABLE_SSL_SUPPORT, FOR_SCHEMA_UPGRADE, IFS_DOMAIN_DISPLAY_NAME, IFS_DOMAIN_NAME, IFS_SCHEMA_NAME, IFS_SCHEMA_PASSWORD, IFS_SERVICE_NAME, IFS_USER_NAME, IFS_USER_PASSWORD, INCLUDE_PATH, INITIAL_CONTEXT_FACTORY, LDAP_URL_DAS_LOOKUP, LDAP_USER_NAME, LDAP_USER_PASSWORD, OUTPUT_FILE, PARAMETER_FILE, REGISTRY, SCHEMA_VERSION_KEY, SECURITY_PROTOCOL_NAME, SERVICE_CONFIGURATION_NAME| Constructor and Description |
|---|
SetRepositoryParameterAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Connection conn)
Executes JDBC statements.
|
void |
failed(Throwable error)
Invoked if this Action has failed.
|
void |
stop()
Stops this Action.
|
perform, setDatabaseUrl, setPassword, setUsergetDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptionspublic void execute(Connection conn) throws SQLException, ActionFailedException
Note: Subclasses should provide an implementation for this method.
The Connection does not need to be closed by this method; the calling method will close it. However, any Statement or ResultSet objects that are opened should be closed explicitly.
execute in class JDBCActionconn - the Connection to the database.SQLException - if a database error occurs.ActionFailedException - if any other error occurs.public void failed(Throwable error)
perform method has executed.error - the error that occurred.public void stop()
perform will return as soon as possible.
This method should do nothing if this Action has already been stopped.
This method will probably be invoked from within the Thread that created
the ActionQueue that this Action is being executed in, rather than from
within the Thread that is invoking the perform method
(the ActionQueue's Action processing Thread).
Because of this, clients implementing this interface should
provide a way of canceling what is happening in the perform
method when this stop method is invoked.
Note: this is especially important when the perform method
executes a tight loop or creates new Threads.
Copyright © 2025. All rights reserved.