private void afterCompletion() { // this does not synchronize because nothing can modify our state at this time afterCompletion(interposedSyncList); afterCompletion(syncList); }
private void afterCompletion() { // this does not synchronize because nothing can modify our state at this time afterCompletion(interposedSyncList); afterCompletion(syncList); }
private void afterCompletion() { // this does not synchronize because nothing can modify our state at this time afterCompletion(interposedSyncList); afterCompletion(syncList); }
private void afterCompletion() { // this does not synchronize because nothing can modify our state at this time afterCompletion(interposedSyncList); afterCompletion(syncList); }
void preparedCommit() throws HeuristicRollbackException, HeuristicMixedException, SystemException { try { commitResources(resourceManagers); } finally { afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION; } } }
void preparedCommit() throws HeuristicRollbackException, HeuristicMixedException, SystemException { try { commitResources(resourceManagers); } finally { afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION; } } }
void preparedCommit() throws HeuristicRollbackException, HeuristicMixedException, SystemException { try { commitResources(resourceManagers); } finally { afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION; } } }
void preparedCommit() throws SystemException { try { commitResources(resourceManagers); } finally { afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION; } } }
afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION;
afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION;
afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION;
public void rollback() throws IllegalStateException, SystemException { List rms; synchronized (this) { switch (status) { case Status.STATUS_ACTIVE: status = Status.STATUS_MARKED_ROLLBACK; break; case Status.STATUS_MARKED_ROLLBACK: break; default: throw new IllegalStateException("Status is " + getStateString(status)); } rms = resourceManagers; } endResources(); try { try { rollbackResources(rms, false); } catch (HeuristicMixedException e) { throw (SystemException)new SystemException("Unable to roll back due to heuristics").initCause(e); } } finally { afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION; } } }
afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION;
afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION;
afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION;
afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION;
afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION;
afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION;
afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION;
afterCompletion(); synchronized (this) { status = Status.STATUS_NO_TRANSACTION;