/* */ {
/* 175 */ this.trace = this.log.isTraceEnabled();
/* 176 */ if (this.trace) {
/* 177 */ this.log.trace("Importing work " + wrapper);
/* */ }
/* 179 */ ExecutionContext ctx = wrapper.getExecutionContext();
/* 180 */ if (ctx != null)
/* */ {
/* 182 */ Xid xid = ctx.getXid();
/* 183 */ if (xid != null)
/* */ {
/* 186 */ long timeout = ctx.getTransactionTimeout() * 1000L;
/* 187 */ this.xaTerminator.registerWork(wrapper.getWork(), xid, timeout);
/* */ }
/* */ }
/* 190 */ if (this.trace)
/* 191 */ this.log.trace("Imported work " + wrapper);