1 16 17 package org.springframework.aop.framework.autoproxy.metadata; 18 19 import org.springframework.transaction.TransactionDefinition; 23 import org.springframework.transaction.interceptor.*; 24 25 30 public class TxClassImpl implements TxClass { 31 32 private int invocations; 33 34 39 public int defaultTxAttribute() { 40 return ++invocations; 41 } 42 43 44 56 public void echoException(Exception ex) throws Exception { 57 if (ex != null) 58 throw ex; 59 } 60 61 } 62 | Popular Tags |