1 22 package org.jboss.test.cmp2.keygen.ejb; 23 24 import javax.ejb.CreateException ; 25 import javax.ejb.EntityBean ; 26 import javax.ejb.EntityContext ; 27 import javax.ejb.RemoveException ; 28 29 33 public abstract class UnknownPKBean implements EntityBean 34 { 35 public Object ejbCreate(String value) throws CreateException 36 { 37 setValue(value); 38 return null; 39 } 40 41 public void ejbPostCreate(String value) 42 { 43 } 44 45 public abstract String getValue(); 46 public abstract void setValue(String value); 47 48 public void setEntityContext(EntityContext ctx) 49 { 50 } 51 52 public void ejbActivate() 53 { 54 } 55 56 public void ejbLoad() 57 { 58 } 59 60 public void ejbStore() 61 { 62 } 63 64 public void ejbPassivate() 65 { 66 } 67 68 public void ejbRemove() throws RemoveException 69 { 70 } 71 72 public void unsetEntityContext() 73 { 74 } 75 } 76 | Popular Tags |