public void executePlan(TaskCompleter completer,String successMessage,WorkflowCallbackHandler callbackHandler,Object[] callbackHandlerArgs,WorkflowRollbackHandler rollbackHandler,Object[] rollbackHandlerArgs) throws WorkflowException {
  this._callbackHandler=callbackHandler;
  if (callbackHandlerArgs != null) {
    this._callbackHandlerArgs=callbackHandlerArgs.clone();
  }
  this._rollbackHandler=rollbackHandler;
  if (rollbackHandlerArgs != null) {
    this._rollbackHandlerArgs=rollbackHandlerArgs.clone();
  }
  this._taskCompleter=completer;
  this._successMessage=successMessage;
  _service.executePlan(this);
}

public void executePlan ( TaskCompleter completer , String successMessage , WorkflowCallbackHandler callbackHandler , Object [ ] callbackHandlerArgs , WorkflowRollbackHandler rollbackHandler , Object [ ] rollbackHandlerArgs ) throws WorkflowException { this . _callbackHandler = callbackHandler ; if ( callbackHandlerArgs != null ) { this . _callbackHandlerArgs = callbackHandlerArgs . clone ( ) ; } this . _rollbackHandler = rollbackHandler ; if ( rollbackHandlerArgs != null ) { this . _rollbackHandlerArgs = rollbackHandlerArgs . clone ( ) ; } this . _taskCompleter = completer ; this . _successMessage = successMessage ; _service . executePlan ( this ) ; }
invokes the workflowplanexecutor to execute this workflow plan .
