com.protomatter.j2ee.ejb
Class ProtoEntityEJB
java.lang.Object
|
+--com.protomatter.j2ee.ejb.ProtoEJB
|
+--com.protomatter.j2ee.ejb.ProtoEntityEJB
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable, SyslogChannelAware
- public abstract class ProtoEntityEJB
- extends ProtoEJB
- implements javax.ejb.EntityBean
Entity EJB base class.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.ejb.EntityBean |
ejbLoad, ejbRemove, ejbStore |
ProtoEntityEJB
public ProtoEntityEJB()
- Default constructor.
setEntityContext
public void setEntityContext(javax.ejb.EntityContext context)
- Set the entity context. Also calls
initSyslogChannelList()
to read the channel list from the deployment information.
- Specified by:
setEntityContext
in interface javax.ejb.EntityBean
unsetEntityContext
public void unsetEntityContext()
- Unset the entity context.
- Specified by:
unsetEntityContext
in interface javax.ejb.EntityBean
getEntityContext
protected javax.ejb.EntityContext getEntityContext()
- Get the entity context.
getPrimaryKey
protected java.lang.Object getPrimaryKey()
- Get the current primary key. Returns null if
the entity context is not currently set.
ejbActivate
public void ejbActivate()
- EJB activation callback. This implementation does nothing.
- Specified by:
ejbActivate
in interface javax.ejb.EntityBean
ejbPassivate
public void ejbPassivate()
- EJB passivation callback. This implementation does nothing.
- Specified by:
ejbPassivate
in interface javax.ejb.EntityBean