1 25 26 package org.objectweb.jonas.jtests.beans.relation.mnb; 27 28 import java.util.Collection ; 29 import java.rmi.RemoteException ; 30 import javax.ejb.EJBObject ; 31 import javax.ejb.FinderException ; 32 33 36 public interface BRemote extends EJBObject { 37 38 String getId() throws RemoteException ; 39 void m1() throws RemoteException ; 40 41 50 void assignA(Collection c) throws FinderException , RemoteException ; 51 52 61 void assignAInNewTx(Collection c) throws FinderException , RemoteException ; 62 63 64 70 Collection retrieveA() throws RemoteException ; 71 72 78 Collection retrieveAInNewTx() throws RemoteException ; 79 80 81 87 void addAllInA(Collection pkbs) throws FinderException , RemoteException ; 88 89 95 void addAllInAInNewTx(Collection pkbs) throws FinderException , RemoteException ; 96 97 98 104 void addInA(String pkb) throws FinderException , RemoteException ; 105 106 112 void addInAInNewTx(String pkb) throws FinderException , RemoteException ; 113 114 115 121 void removeFromA(String pkb) throws FinderException , RemoteException ; 122 123 129 void removeFromAInNewTx(String pkb) throws FinderException , RemoteException ; 130 131 132 136 void clearA() throws RemoteException ; 137 138 142 void clearAInNewTx() throws RemoteException ; 143 144 150 boolean containAllInA(Collection pkbs) throws FinderException , RemoteException ; 151 152 153 159 boolean containInA(String pkb) throws FinderException , RemoteException ; 160 161 } 162 | Popular Tags |