if (instance instanceof XMLDCElement) {
XMLDCElement xmldce = (XMLDCElement) instance;
if (xmldce.hasMethod(methodName, action.getParamsMap())) {
// TODO: logging
logger.fine("invoking @Operation method {0} on {1}, new Object[]{methodName, instance}");
Object result = xmldce.invokeMethod(methodName, action.getParamsMap());
logger.fine("returning {0}", result);
processResult(result, bindingContext, action);
return true; // true to indicate we handled the operation
}
}