/** * Invoked for transaction inflow of work * * @param work The work starting * @param xid The xid of the work * @throws WorkCompletedException With error code WorkException.TX_RECREATE_FAILED if it is unable * to recreate the transaction context */ public void startWork(Work work, Xid xid) throws WorkCompletedException { delegator.startWork(work, xid); }
if (xid != null) workManager.getXATerminator().startWork(work, xid);