1 25 26 package org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.ejb2view; 27 28 import javax.ejb.CreateException ; 29 import javax.ejb.RemoveException ; 30 import javax.naming.NamingException ; 31 32 37 public interface ItfEjb2LocalClient { 38 39 42 int DEFAULT_CODE = 1; 43 44 47 String DEFAULT_NAME = "test"; 48 49 53 SimpleEjb2LocalHome getBeanHome(); 54 55 59 String getBeanName(); 60 61 66 void createWithIntParameter() throws CreateException ; 67 68 73 void createWithStrParameter() throws CreateException ; 74 75 81 void getBeanByLookup() throws NamingException , CreateException ; 82 83 88 void removeObject() throws RemoveException , CreateException ; 89 90 95 void verifyIdentity() throws CreateException ; 96 97 102 void verifyGetPrimaryKey() throws CreateException ; 103 104 } 105 | Popular Tags |