1 25 26 28 package org.objectweb.jonas.jtests.beans.transacted; 29 30 import java.rmi.RemoteException ; 31 32 import javax.ejb.CreateException ; 33 import javax.ejb.EJBHome ; 34 import javax.ejb.FinderException ; 35 36 public interface SimpleEHome extends EJBHome { 37 public Simple create(int i) throws RemoteException , CreateException ; public Simple createForRequired(long i) throws RemoteException , CreateException ; public Simple createForNever(short i) throws RemoteException , CreateException ; public Simple createForRequiresNew(String i) throws RemoteException , CreateException ; public Simple createForMandatory(char i) throws RemoteException , CreateException ; public Simple createForSupports(boolean i) throws RemoteException , CreateException ; public Simple createWithTimer(int i, long dur) throws RemoteException , CreateException ; 45 public Simple findByPrimaryKey(String pk) throws RemoteException , FinderException ; 47 public Simple finder_notsupported() throws RemoteException , FinderException ; 48 public Simple finder_required() throws RemoteException , FinderException ; 49 public Simple finder_supports(boolean i) throws RemoteException , FinderException ; 50 public Simple finder_requiresnew() throws RemoteException , FinderException ; 51 public Simple finder_mandatory() throws RemoteException , FinderException ; 52 public Simple finder_never() throws RemoteException , FinderException ; 53 public boolean opwith_notsupported() throws RemoteException ; 55 public boolean opwith_requires_new() throws RemoteException ; 56 public boolean opwith_required() throws RemoteException ; 57 public boolean opwith_mandatory() throws RemoteException ; 58 public boolean opwith_supports() throws RemoteException ; 59 public boolean opwith_never() throws RemoteException ; 60 } 61 | Popular Tags |