1 22 package org.jboss.test.jmx.ejb; 23 24 25 import java.rmi.RemoteException ; 26 import javax.ejb.EntityBean ; 27 import javax.ejb.EntityContext ; 28 import javax.ejb.RemoveException ; 29 49 50 public abstract class EntityABean implements EntityBean 51 { 52 public EntityABean () 53 { 54 55 } 56 57 58 59 67 public abstract Integer getId(); 68 69 75 public abstract void setId(Integer id); 76 77 78 79 87 public abstract String getValue(); 88 89 95 public abstract void setValue(String value); 96 97 98 99 public void ejbActivate() throws RemoteException 100 { 101 } 102 103 public void ejbPassivate() throws RemoteException 104 { 105 } 106 107 public void ejbLoad() throws RemoteException 108 { 109 } 110 111 public void ejbStore() throws RemoteException 112 { 113 } 114 115 public void ejbRemove() throws RemoteException , RemoveException 116 { 117 } 118 119 public void setEntityContext(EntityContext ctx) throws RemoteException 120 { 121 } 122 123 public void unsetEntityContext() throws RemoteException 124 { 125 } 126 127 } | Popular Tags |