Package com.starflow.wf.engine.transaction

Examples of com.starflow.wf.engine.transaction.TransactionTemplate.execute()


   * @return
   */
  protected Object executeLogicInNewTransaction(final AbstractFlowEvent event, final ActivityInst activityInst, final IAction action) {
    TransactionTemplate template = event.getProcessEngine().getTransactionTemplate();
   
    return template.execute(TransactionDefinition.PROPAGATION_REQUIRES_NEW,
        new TransactionCallback<Object>() {

      @Override
      public Object doInTransaction(TransactionStatus status) {
        return action.execute(event, activityInst);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.