1 25 26 28 package org.objectweb.jonas.jtests.beans.ebasic; 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 findByName(String name) throws RemoteException , FinderException ; 41 public Simple findByPrimaryKey(String name) throws RemoteException , FinderException ; 42 public Enumeration findInfoForNum(int numtest) throws RemoteException , FinderException ; 43 public Collection findInCollection() throws RemoteException , FinderException ; 44 public Enumeration findInfo_beetwen(int v1, int v2) throws FinderException , RemoteException ; 45 public Enumeration findEqualOne(int v) throws FinderException , RemoteException ; 46 public Enumeration findEqualTwo(int v1, int v2) throws FinderException , RemoteException ; 47 public Simple findOneByNum(int numtest) throws FinderException , RemoteException ; 48 public void globalOpe() throws RemoteException ; 49 } 50 | Popular Tags |