1 22 package org.jboss.test.dtm.interfaces; 23 24 import java.rmi.RemoteException ; 25 import javax.ejb.EJBObject ; 26 27 33 public interface FrontEnd 34 extends EJBObject 35 { 36 public void setBalances(int value1, int value2, int value3) 37 throws RemoteException ; 38 39 public int[] getBalances() 40 throws RemoteException ; 41 42 public void addToBalances(int value) 43 throws RemoteException ; 44 45 public void setRollbackOnly() 46 throws RemoteException ; 47 48 public void tellFirstAccountToSetRollbackOnly() 49 throws RemoteException ; 50 51 public void tellSecondAccountToSetRollbackOnly() 52 throws RemoteException ; 53 54 public void tellThirdAccountToSetRollbackOnly() 55 throws RemoteException ; 56 } 57 58 | Popular Tags |