1 25 26 package org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.ejb2view; 27 28 import java.rmi.RemoteException ; 29 30 import javax.ejb.CreateException ; 31 import javax.ejb.RemoveException ; 32 import javax.naming.NamingException ; 33 34 39 public interface ItfEjb2Client { 40 41 44 int DEFAULT_CODE = 2; 45 46 49 String DEFAULT_NAME = "testClient"; 50 51 57 void createWithoutParameters() throws CreateException , RemoteException ; 58 59 65 void createWithParameters() throws CreateException , RemoteException ; 66 67 74 void getBeanByLookup() throws NamingException , CreateException , RemoteException ; 75 76 82 void removeObject() throws RemoteException , RemoveException , CreateException ; 83 84 89 void getEJBMetaData() throws RemoteException ; 90 91 97 void verifyIdentity() throws CreateException , RemoteException ; 98 99 105 void verifyGetPrimaryKey() throws RemoteException , CreateException ; 106 } 107 | Popular Tags |