1 package indyjug.jboss.ejb;
2
3 public interface StockLocalHome extends javax.ejb.EJBLocalHome
4 {
5 public static final String COMP_NAME = "java:comp/env/ejb/StockLocal";
6
7 public StockLocal create(String exchange, String symbol, String name,
8 double price) throws javax.ejb.CreateException;
9
10 public java.util.Collection findAll() throws javax.ejb.FinderException;
11
12 public StockLocal findByPrimaryKey(java.lang.String pk)
13 throws javax.ejb.FinderException;
14
15 public java.util.Collection findByExchange(java.lang.String exchange)
16 throws javax.ejb.FinderException;
17}
18