1 25 26 28 package org.objectweb.jonas.jtests.beans.fbasic; 29 30 import java.util.Enumeration ; 31 import java.util.Collection ; 32 import java.rmi.RemoteException ; 33 import javax.ejb.CreateException ; 34 import javax.ejb.EJBHome ; 35 import javax.ejb.FinderException ; 36 37 public interface SimpleHome extends EJBHome { 38 public Simple create(String name, int info, int num) throws RemoteException , CreateException ; 39 public Simple findByTestName(String name) throws RemoteException , FinderException ; 40 public Simple findByPrimaryKey(String name) throws RemoteException , FinderException ; 41 public Enumeration findInfoForNum(int numtest) throws RemoteException , FinderException ; 42 public Collection findInCollection() throws RemoteException , FinderException ; 43 public Enumeration findInfo_beetwen(int v1, int v2) throws FinderException , RemoteException ; 44 public Enumeration findEqualOne(int v) throws FinderException , RemoteException ; 45 public Enumeration findEqualTwo(int v1, int v2) throws FinderException , RemoteException ; 46 } 47 | Popular Tags |