1 22 package org.jboss.test.jca.bank.interfaces; 23 24 27 public interface AccountHome extends javax.ejb.EJBHome 28 { 29 public static final String COMP_NAME = "java:comp/env/ejb/Account"; 30 31 public static final String JNDI_NAME = "Account"; 32 33 public org.jboss.test.jca.bank.interfaces.Account create(java.lang.Integer id, int balance, 34 java.lang.Integer customerId) throws javax.ejb.CreateException , java.rmi.RemoteException ; 35 36 public org.jboss.test.jca.bank.interfaces.Account findByPrimaryKey(java.lang.Integer id) 37 throws javax.ejb.FinderException , java.rmi.RemoteException ; 38 39 public java.util.Collection findByCustomerId(java.lang.Integer customerId) throws javax.ejb.FinderException , 40 java.rmi.RemoteException ; 41 42 } 43 | Popular Tags |