Element compensationHandler = element.element("compensationHandler");
processCompensationHandler(compensationHandler, (Invoke) activity);
}
protected void processSpecificAttributes(Element element, Activity activity) throws DeploymentException {
Invoke invoke = (Invoke) activity;
Attribute partnerLink = element.attribute("partnerLink");
if (partnerLink != null) {
log.debug("partnerLink=" + partnerLink);
invoke.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);
invoke.setPortType(portTypeStr);
}
Attribute operation = element.attribute("operation");
if (operation != null) {
log.debug("operation=" + operation);
invoke.setOperation(operation.getValue());
}
Attribute inputVariable = element.attribute("inputVariable");
if (inputVariable != null) {
log.debug("inputVariable=" + inputVariable);
invoke.setInputVariable(inputVariable.getValue());
}
Attribute outputVariable = element.attribute("outputVariable");
if (outputVariable != null) {
log.debug("outputVariable=" + outputVariable);
invoke.setOutputVariable(outputVariable.getValue());
}
}