LinkFrame linkFrame) {
super(self, scopeFrame, linkFrame);
}
public final void run() {
final ExtensionContext context = new ExtensionContextImpl(_self, _scopeFrame, getBpelRuntime());
final OExtensionActivity oea = (OExtensionActivity)_self.o;
try {
ExtensionOperation ea = getBpelRuntime().createExtensionActivityImplementation(oea.extensionName);
if (ea == null) {
for (OProcess.OExtension oe : oea.getOwner().mustUnderstandExtensions) {
if (oea.extensionName.getNamespaceURI().equals(oe.namespaceURI)) {
__log.warn("Lookup of extension activity " + oea.extensionName + " failed.");
throw new FaultException(ExtensibilityQNames.UNKNOWN_EA_FAULT_NAME, "Lookup of extension activity "
+ oea.extensionName + " failed. No implementation found.");
}
}
// act like <empty> - do nothing
context.complete();
return;
}
ea.run(context, oea.nestedElement.getElement());
} catch (FaultException fault) {
__log.error(fault);
context.completeWithFault(fault);
}
}