1 package my.enterprise.beans; 2 3 import javax.ejb.*; 4 5 10 public class NewEntityBeanMPBean implements javax.ejb.EntityBean , my.enterprise.beans.NewEntityBeanMPLocalBusiness { 11 private javax.ejb.EntityContext context; 12 13 20 public void setEntityContext (javax.ejb.EntityContext aContext) { 21 context = aContext; 22 } 23 24 27 public void ejbActivate () { 28 29 } 30 31 34 public void ejbPassivate () { 35 36 } 37 38 41 public void ejbRemove () { 42 43 } 44 45 48 public void unsetEntityContext () { 49 context = null; 50 } 51 52 55 public void ejbLoad () { 56 } 58 59 62 public void ejbStore () { 63 } 65 66 68 71 public java.lang.String ejbFindByPrimaryKey (java.lang.String aKey) throws javax.ejb.FinderException { 72 return "key"; 76 } 77 } 78 | Popular Tags |