Package net.fp.rp.spring

Examples of net.fp.rp.spring.SpringStarter.startWorkflow()


        //Depends on it being configure in the App-Context to be an instance of this class
        ParameterWorkflowStrategy pStrat = (ParameterWorkflowStrategy) myBean.getStarterStrategy();
        pStrat.param1="test";
        pStrat.param2="TestInput1";
               
        myBean.startWorkflow();
       
        //Now Carry out some assertions
        List<ExecutionContext> execList = TestActionHandler.getPreviousExecutions();
        assertEquals(1,execList.size());
       log.debug("NodeName:"+execList.get(0).getNode().getName());
View Full Code Here


        //Depends on it being configure in the App-Context to be an instance of this class
        ParameterWorkflowStrategy pStrat = (ParameterWorkflowStrategy) myBean.getStarterStrategy();
        pStrat.param1="test";
        pStrat.param2="TestInput2";
               
        myBean.startWorkflow();
       
        //Now Carry out some assertions
        List<ExecutionContext> execList = TestActionHandler.getPreviousExecutions();
        assertEquals(2,execList.size());
       log.debug("NodeName:"+execList.get(1).getNode().getName());
View Full Code Here

          configFile);

      // Todo remove the next bit and make more generic
      SpringStarter myBean = (SpringStarter) context
          .getBean(workflowBean);
      myBean.startWorkflow();
    }

  }

}
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.