//Override for tests
String dexportClientClassName = System.getProperty(ExportDataProcessor.EXPORT_TO_TYPE, exportClientClassName);
prop.setValue(dexportClientClassName);
}
ExportConfigurationType exportConfiguration = exportType.getConfiguration();
if (exportConfiguration != null) {
List<PropertyType> configProperties = exportConfiguration.getProperty();
if (configProperties != null && ! configProperties.isEmpty()) {
for( PropertyType configProp: configProperties) {
ConnectorProperty prop = catconn.getConfig().add(configProp.getName());
prop.setName(configProp.getName());
prop.setValue(configProp.getValue());
}
}
}
if (!adminstate) {
hostLog.info("Export configuration is present and is " +
"configured to be disabled. Export will be disabled.");
} else {
hostLog.info("Export is configured and enabled with type=" + exportType.getTarget());
if (exportConfiguration != null && exportConfiguration.getProperty() != null) {
hostLog.info("Export configuration properties are: ");
for (PropertyType configProp : exportConfiguration.getProperty()) {
if (!configProp.getName().equalsIgnoreCase("password")) {
hostLog.info("Export Configuration Property NAME=" + configProp.getName() + " VALUE=" + configProp.getValue());
}
}
}