public void checkRollbackOnFault() { if (replayerConfig.getRollbackOnFault()) { RuntimeException e = new RuntimeException("Process instance run into fault."); if (__log.isDebugEnabled()) { __log.debug("", e); } throw e; } }
/** * Sets ith "restoreInstance" element */ public void setRestoreInstanceArray(int i, org.apache.ode.bpel.pmapi.CommunicationType restoreInstance) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.CommunicationType target = null; target = (org.apache.ode.bpel.pmapi.CommunicationType)get_store().find_element_user(RESTOREINSTANCE$0, i); if (target == null) { throw new IndexOutOfBoundsException(); } target.set(restoreInstance); } }
for (ServiceConfig s : r.getServiceConfigList()) { servicesConfig.put(s.getService(), s); final List<Exchange> exchangeList = r.getExchangeList();
if (instance == null) return result; result.setProcessType(instance.getProcess().getType()); result.addNewExchange().set(e);
public Void call() throws Exception { __log.debug("initial call " + e); final BpelProcess p = bpelEngine.getNewestProcessByType(r.getProcessType()); final ProcessDAO processDAO = p.getProcessDAO(); final MyRoleMessageExchangeImpl mex = ReplayerBpelRuntimeContextImpl.createMyRoleMex(e, bpelEngine);
/** * Sets ith "restoreInstance" element */ public void setRestoreInstanceArray(int i, org.apache.ode.bpel.pmapi.CommunicationType restoreInstance) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.CommunicationType target = null; target = (org.apache.ode.bpel.pmapi.CommunicationType)get_store().find_element_user(RESTOREINSTANCE$4, i); if (target == null) { throw new IndexOutOfBoundsException(); } target.set(restoreInstance); } }
public GetCommunicationResponse getCommunication(GetCommunication request, BpelDAOConnection conn) throws Exception { GetCommunicationResponse response = GetCommunicationResponse.Factory.newInstance(); for (Long iid : request.getIidList()) { response.addNewRestoreInstance().set(getCommunication(iid, conn)); } return response; }