1 4 package xdoclet.retest.ref.ejb.ejb; 5 6 import java.lang.*; 7 import javax.ejb.EntityBean ; 8 9 13 public abstract class InheritedCMPSubCMP 14 extends xdoclet.retest.bean.ejb.ejb.InheritedCMPSubBean 15 implements EntityBean 16 { 17 private xdoclet.retest.bean.ejb.interfaces.InheritedCMPSubData dataHolder; 18 19 public xdoclet.retest.bean.ejb.interfaces.InheritedCMPSubData getData() 20 { 21 if( dataHolder == null ) 22 { 23 try 24 { 25 dataHolder = new xdoclet.retest.bean.ejb.interfaces.InheritedCMPSubData(); 26 27 } 28 catch (Exception e) 29 { 30 throw new javax.ejb.EJBException (e); 31 } 32 } 33 34 return dataHolder; 35 } 36 37 public void ejbLoad() 38 { 39 dataHolder = null; 40 41 } 42 43 public void ejbStore() 44 { 45 } 46 47 public void ejbActivate() 48 { 49 } 50 51 public void ejbPassivate() 52 { 53 dataHolder = null; 54 55 } 56 57 public void setEntityContext(javax.ejb.EntityContext ctx) 58 { 59 } 60 61 public void unsetEntityContext() 62 { 63 } 64 65 public void ejbRemove() 66 { 67 dataHolder = null; 68 69 } 70 71 72 73 74 75 76 77 } 78 | Popular Tags |