Пример #1
0
 public void setUp() throws Exception {
   super.setUp();
   // activity
   Reply reply = new Reply("reply");
   reply.setReplier(replier);
   // process, create after opening jbpm context
   process = new BpelDefinition();
   process.addNode(reply);
 }
Пример #2
0
 private static Replier getReplier(BpelDefinition process) {
   Reply reply = (Reply) process.getNode("reply");
   return reply.getReplier();
 }