use of nl.nn.adapterframework.util.AppConstants in project iaf by ibissource.
the class JdbcTableMessageBrowser method setOperationControls.
@Override
protected void setOperationControls() {
super.setOperationControls();
AppConstants ac = AppConstants.getInstance();
useIndexHint = ac.getBoolean(PROPERTY_USE_INDEX_HINT, false);
useFirstRowsHint = ac.getBoolean(PROPERTY_USE_FIRST_ROWS_HINT, true);
}
use of nl.nn.adapterframework.util.AppConstants in project iaf by ibissource.
the class DatabaseMigratorBase method getDatasourceName.
public String getDatasourceName() {
if (datasourceName == null) {
AppConstants appConstants = AppConstants.getInstance(configuration.getClassLoader());
datasourceName = appConstants.getString("jdbc.migrator.datasource", appConstants.getString("jdbc.migrator.dataSource", JndiDataSourceFactory.GLOBAL_DEFAULT_DATASOURCE_NAME));
}
return datasourceName;
}
Aggregations