1 16 17 package org.springframework.transaction.support; 18 19 import org.springframework.core.Ordered; 20 21 33 public abstract class TransactionSynchronizationAdapter implements TransactionSynchronization, Ordered { 34 35 public int getOrder() { 36 return Ordered.LOWEST_PRECEDENCE; 37 } 38 39 public void suspend() { 40 } 41 42 public void resume() { 43 } 44 45 public void beforeCommit(boolean readOnly) { 46 } 47 48 public void beforeCompletion() { 49 } 50 51 public void afterCommit() { 52 } 53 54 public void afterCompletion(int status) { 55 } 56 57 } 58 | Popular Tags |