ExecutionContext.@Deprecated public interface ExecutionContext
ActionHandlers,
and allows them to execute sub-actions. These actions can be automatically rolled back
if any part of the action handler fails.<A extends Action<R>,R extends Result> R execute(A action) throws ActionException, ServiceException
A - The Action type.R - The Result type.action - The Action.Result.ActionException - if the action execution failed.ServiceException - if the execution failed due to a service error.<A extends Action<R>,R extends Result> void undo(A action, R result) throws ActionException, ServiceException
A - The Action type.R - The Result type.action - The Action.ActionException - if the action execution failed.ServiceException - if the execution failed due to a service error.Copyright © 2010-2014 ArcBees. All Rights Reserved.