this.tm = tm; this.lock = lock;
return "TxLockInterceptor";
Transaction tx = tm.getTransaction(); if (tx == null) return invocation.invokeNext(); else { } lock.schedule(tx, invocation); try { return invocation.invokeNext(); } finally { lock.endInvocation(tx); }