protected Class getActivityClass() {
return Reply.class;
}
protected void processSpecificAttributes(Element element, Activity activity) throws DeploymentException {
Reply reply = (Reply) activity;
Attribute partnerLink = element.attribute("partnerLink");
if (partnerLink != null) {
log.debug("partnerLink=" + partnerLink);
reply.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);
reply.setPortType(portTypeStr);
}
Attribute operation = element.attribute("operation");
if (operation != null) {
log.debug("operation=" + operation);
reply.setOperation(operation.getValue());
}
Attribute variable = element.attribute("variable");
if (variable != null) {
log.debug("variable=" + variable);
reply.setVariable(variable.getValue());
}
Attribute faultName = element.attribute("faultName");
if (faultName != null) {
log.debug("faultName=" + faultName);
reply.setFaultName(faultName.getValue());
}
}