1 16 17 package org.springframework.transaction.support; 18 19 37 public interface TransactionSynchronization { 38 39 40 int STATUS_COMMITTED = 0; 41 42 43 int STATUS_ROLLED_BACK = 1; 44 45 46 int STATUS_UNKNOWN = 2; 47 48 49 54 void suspend(); 55 56 61 void resume(); 62 63 77 void beforeCommit(boolean readOnly); 78 79 90 void beforeCompletion(); 91 92 107 void afterCommit(); 108 109 127 void afterCompletion(int status); 128 129 } 130 | Popular Tags |