module.setVendorDD(gerConnector);
return module;
}
public URI getParentId(XmlObject plan) throws DeploymentException {
GerConnectorType geronimoConnector = ((GerConnectorDocument) plan).getConnector();
URI parentID;
if (geronimoConnector.isSetParentId()) {
try {
parentID = new URI(geronimoConnector.getParentId());
} catch (URISyntaxException e) {
throw new DeploymentException("Invalid parentId " + geronimoConnector.getParentId(), e);
}
} else {
parentID = null;
}
return parentID;