throw new DeploymentException(e);
}
}
protected void processSpecificAttributes(Element element, Activity activity) throws DeploymentException {
Receive receive = (Receive) activity;
Attribute partnerLink = element.attribute("partnerLink");
if (partnerLink != null) {
log.debug("partnerLink=" + partnerLink.getValue());
receive.setPartner(partnerLink.getValue());
}
Attribute portType = element.attribute("portType");
if (portType != null) {
String portTypeStr = portType.getValue();
int sepIndex = portTypeStr.indexOf(TwisterDeployerImpl.NS_SEPARATOR);
if (sepIndex > 0) {
portTypeStr = portTypeStr.substring(sepIndex + 1, portTypeStr.length());
}
log.debug("portType=" + portTypeStr);
receive.setPortType(portTypeStr);
}
Attribute operation = element.attribute("operation");
if (operation != null) {
log.debug("operation=" + operation.getValue());
receive.setOperation(operation.getValue());
}
Attribute variable = element.attribute("variable");
if (variable != null) {
log.debug("variable=" + variable.getValue());
receive.setVariable(variable.getValue());
}
Attribute createInstance = element.attribute("createInstance");
if (createInstance != null) {
boolean bool = StringUtil.booleanValue(createInstance.getValue());
log.debug("createInstance=" + bool);
receive.setCreateInstance(bool);
}
}