01: package org.objectweb.jonas.jtests.beans.cluster;
02:
03: import java.lang.String;
04: import java.rmi.RemoteException;
05: import java.util.Collection;
06: import javax.ejb.CreateException;
07: import javax.ejb.EJBHome;
08: import javax.ejb.FinderException;
09:
10: public interface IdentityHome extends EJBHome {
11: Identity create(String n, int i) throws CreateException,
12: RemoteException;
13:
14: Identity findByPrimaryKey(String pk) throws FinderException,
15: RemoteException;
16:
17: Collection findByNumber(int number) throws FinderException,
18: RemoteException;
19:
20: Collection findAll() throws FinderException, RemoteException;
21: }
|