1 22 package org.jboss.test.idgen.interfaces; 23 24 import java.util.*; 25 import java.rmi.*; 26 import javax.ejb.*; 27 28 34 public interface IdCounterHome 35 extends EJBHome 36 { 37 public static final String COMP_NAME = "java:comp/env/ejb/IdCounter"; 39 public static final String JNDI_NAME = "IdCounter"; 40 41 43 45 47 public IdCounter create(String beanName) 49 throws RemoteException, CreateException; 50 51 public IdCounter findByPrimaryKey(String beanName) 52 throws RemoteException, FinderException; 53 54 public Collection findAll() 55 throws RemoteException, FinderException; 56 } 57 | Popular Tags |