OperationServiceRegistry operationRegistry, OperationContext context, ParticipantId author) {
try {
OperationService service =
operationRegistry.getServiceFor(OperationUtil.getOperationType(operation));
ParticipantId proxyParticipant = OperationUtil.computeParticipant(operation, author);
service.execute(operation, context, proxyParticipant);
} catch (InvalidRequestException e) {
LOG.warning("Operation " + operation + " failed to execute", e);
context.constructErrorResponse(operation, e.getMessage());
}
}