1 22 package org.jboss.test.util.ejb; 23 24 import java.rmi.RemoteException ; 25 26 import javax.ejb.EntityBean ; 27 import javax.ejb.EntityContext ; 28 import javax.ejb.RemoveException ; 29 30 36 public abstract class EntitySupport implements EntityBean 37 { 38 40 protected EntityContext entityCtx; 42 43 45 47 49 public void setEntityContext(EntityContext ctx) throws RemoteException 50 { 51 entityCtx = ctx; 52 } 53 public void unsetEntityContext() throws RemoteException 54 { 55 } 56 57 public void ejbActivate() throws RemoteException 58 { 59 } 60 61 public void ejbPassivate() throws RemoteException 62 { 63 } 64 65 public void ejbLoad() throws RemoteException 66 { 67 } 68 69 public void ejbStore() throws RemoteException 70 { 71 } 72 73 public void ejbRemove() throws RemoteException , RemoveException 74 { 75 } 76 } 77 | Popular Tags |