public void resolveActionReferences() {
Iterator iter = unresolvedActionReferences.iterator();
while (iter.hasNext()) {
Object[] unresolvedActionReference = (Object[]) iter.next();
Element actionElement = (Element) unresolvedActionReference[0];
Action action = (Action) unresolvedActionReference[1];
String referencedActionName = actionElement.attributeValue("ref-name");
Action referencedAction = processDefinition.getAction(referencedActionName);
if (referencedAction==null) {
addWarning("couldn't resolve action reference in "+actionElement.asXML());
}
action.setReferencedAction(referencedAction);
}