}
} else if (address.size() == 1 && ADD.equals(operation.get(OP).asString())
&& EXTENSION.equals(address.getElement(0).getKey())
&& response.hasDefined(RESULT) && response.get(RESULT).hasDefined(DOMAIN_RESULTS)) {
// Extract the subsystem info and store it
TransformationTarget target = transformers.getTarget();
for (Property p : response.get(RESULT, DOMAIN_RESULTS).asPropertyList()) {
String[] version = p.getValue().asString().split("\\.");
int major = Integer.parseInt(version[0]);
int minor = Integer.parseInt(version[1]);
target.addSubsystemVersion(p.getName(), major, minor);
HOST_CONTROLLER_LOGGER.debugf("Registering subsystem %s for host %s with major version [%d] and minor version [%d]",
p.getName(), address, major, minor);
}
// purge the subsystem version data from the response
response.get(RESULT).set(new ModelNode());