1 2 8 29 package org.jboss.test.retry.interfaces; 30 31 import javax.ejb.*; 32 import java.rmi.*; 33 34 35 public class RetryHandler implements org.jboss.ejb.plugins.TxRetryExceptionHandler 36 { 37 public boolean retry(Exception ex) 38 { 39 System.out.println("**** testing retry ****"); 40 if (ex instanceof RetryException) 41 { 42 RetryException.wasRetried = true; 43 return true; 44 } 45 return false; 46 } 47 } 48 | Popular Tags |