01: // PersonHomeLocal.java
02:
03: package org.objectweb.jonas.jtests.beans.relation.rcycle;
04:
05: import java.rmi.RemoteException;
06: import java.util.Collection;
07:
08: import javax.ejb.CreateException;
09: import javax.ejb.EJBLocalHome;
10: import javax.ejb.FinderException;
11:
12: /**
13: * Local home interface for the bean Person
14: * @author Helene Joanin
15: */
16: public interface PersonHomeLocal extends EJBLocalHome {
17:
18: PersonLocal create(Integer id, String name, int sex)
19: throws CreateException;
20:
21: PersonLocal findByPrimaryKey(java.lang.Integer id)
22: throws FinderException;
23:
24: Collection findAll() throws FinderException;
25:
26: PersonLocal findSpouse3() throws FinderException;
27:
28: }
|