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 58 59 public abstract class EntityBBean implements EntityBean 60 { 61 public EntityBBean () 62 { 63 64 } 65 66 67 68 76 public abstract Integer getId(); 77 78 84 public abstract void setId(Integer id); 85 86 87 88 96 public abstract String getValue(); 97 98 104 public abstract void setValue(String value); 105 106 107 108 public void ejbActivate() throws RemoteException 109 { 110 } 111 112 public void ejbPassivate() throws RemoteException 113 { 114 } 115 116 public void ejbLoad() throws RemoteException 117 { 118 } 119 120 public void ejbStore() throws RemoteException 121 { 122 } 123 124 public void ejbRemove() throws RemoteException , RemoveException 125 { 126 } 127 128 public void setEntityContext(EntityContext ctx) throws RemoteException 129 { 130 } 131 132 public void unsetEntityContext() throws RemoteException 133 { 134 } 135 136 } | Popular Tags |