KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > stests > appli > DistrictHome


1 // DistrictHome.java
2

3 package org.objectweb.jonas.stests.appli;
4
5 import java.rmi.RemoteException JavaDoc;
6 import java.util.Enumeration JavaDoc;
7
8 import javax.ejb.CreateException JavaDoc;
9 import javax.ejb.EJBHome JavaDoc;
10 import javax.ejb.FinderException JavaDoc;
11
12 /**
13  * Home interface for the bean District
14  */

15 public interface DistrictHome extends EJBHome JavaDoc {
16     public District create(int did, String JavaDoc wid, String JavaDoc name, int order)
17         throws RemoteException JavaDoc, CreateException JavaDoc;
18     public District findByPrimaryKey(DistrictID primaryKey)
19         throws FinderException JavaDoc, RemoteException JavaDoc;
20     public Enumeration JavaDoc findAllDistricts( )
21         throws FinderException JavaDoc, RemoteException JavaDoc;
22 }
23
Popular Tags