logger.log(TreeLogger.ERROR, remoteService.getQualifiedSourceName()
+ " is not an interface", null);
throw new UnableToCompleteException();
}
PropertyOracle propertyOracle = context.getPropertyOracle();
boolean userAgentRuntimeWarning = true;
try {
ConfigurationProperty property =
propertyOracle.getConfigurationProperty(PROPERTY_USER_AGENT_RUNTIME_WARNING);
userAgentRuntimeWarning = Boolean.valueOf(property.getValues().get(0));
} catch (BadPropertyValueException e) {
logger.log(TreeLogger.WARN, "Unable to find value for '"
+ PROPERTY_USER_AGENT_RUNTIME_WARNING + "'", e);
}
String userAgentValue;
SelectionProperty selectionProperty;
try {
selectionProperty = propertyOracle.getSelectionProperty(logger,
PROPERTY_USER_AGENT);
userAgentValue = selectionProperty.getCurrentValue();
} catch (BadPropertyValueException e) {
logger.log(TreeLogger.ERROR, "Unable to find value for '"
+ PROPERTY_USER_AGENT + "'", e);