KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > titan > phone > PhoneHomeLocal


1 package com.titan.phone;
2
3 import javax.ejb.CreateException;
4 import javax.ejb.FinderException;
5 import java.util.Collection;
6
7 // Phone EJB's local home interface
8
public interface PhoneHomeLocal extends javax.ejb.EJBLocalHome {
9
10     public PhoneLocal create(String number, byte type)
11         throws javax.ejb.CreateException;
12
13     public PhoneLocal findByPrimaryKey(Object primaryKey)
14         throws javax.ejb.FinderException;
15
16     public Collection findAllPhones()
17         throws javax.ejb.FinderException;
18
19 }
20
Popular Tags