Betty v1.1.0

christophedelory.ejb
Class AbstractEntityBean

java.lang.Object
  extended by christophedelory.ejb.AbstractEntityBean
All Implemented Interfaces:
Serializable, EnterpriseBean, EntityBean
Direct Known Subclasses:
BaseBean, BetBean, ChampionshipBean, EventBean, LocationBean, MetadataBean, ModelBean, PhaseBean, PlayerBean, PlayerScoreBean, PropertyBean, ResourceBean, UserBean, UserRoleBean

public abstract class AbstractEntityBean
extends Object
implements EntityBean

Super class for all our entity beans, implementing common entity bean methods. All methods defined in this class are generally not implemented.

Version:
$Revision: 85 $
Author:
Christophe Delory
See Also:
Serialized Form

Field Summary
protected  EntityContext context
          The associated entity context.
 
Constructor Summary
AbstractEntityBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 void ejbStore()
           
 void setEntityContext(EntityContext ctx)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected EntityContext context
The associated entity context.

Constructor Detail

AbstractEntityBean

public AbstractEntityBean()
Method Detail

setEntityContext

public void setEntityContext(EntityContext ctx)
Specified by:
setEntityContext in interface EntityBean

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext in interface EntityBean

ejbRemove

public void ejbRemove()
               throws RemoveException
Specified by:
ejbRemove in interface EntityBean
Throws:
RemoveException

ejbLoad

public void ejbLoad()
Specified by:
ejbLoad in interface EntityBean

ejbStore

public void ejbStore()
Specified by:
ejbStore in interface EntityBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface EntityBean

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface EntityBean

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.