org.enableit.tools.email.ejb
Class EmailAdapter
java.lang.Object
|
+--org.enableit.tools.email.ejb.EmailBean
|
+--org.enableit.tools.email.ejb.EmailAdapter
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean
- Direct Known Subclasses:
- EmailSession
- public abstract class EmailAdapter
- extends EmailBean
- implements javax.ejb.SessionBean
Session EJB Adapter for the EmailBean.
- Author:
- Tim Stephenson.
- See Also:
- Serialized Form
Method Summary |
void |
ejbActivate()
Invoked prior to EJB object activation. |
void |
ejbCreate()
Called by container when creating new bean instance. |
void |
ejbPassivate()
Invoked prior to EJB object passivation. |
void |
ejbRemove()
Remove EJB from client service. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Invoked prior to EJB reference servicing client request
(i.e. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmailAdapter
public EmailAdapter()
ejbActivate
public void ejbActivate()
- Invoked prior to EJB object activation.
- Specified by:
ejbActivate
in interface javax.ejb.SessionBean
- See Also:
- EJB spec
ejbPassivate
public void ejbPassivate()
- Invoked prior to EJB object passivation.
- Specified by:
ejbPassivate
in interface javax.ejb.SessionBean
- See Also:
- EJB spec
setSessionContext
public void setSessionContext(javax.ejb.SessionContext ctx)
- Invoked prior to EJB reference servicing client request
(i.e. on leaving the pool).
- Specified by:
setSessionContext
in interface javax.ejb.SessionBean
- See Also:
- EJB spec
ejbRemove
public void ejbRemove()
- Remove EJB from client service.
- Specified by:
ejbRemove
in interface javax.ejb.SessionBean
ejbCreate
public void ejbCreate()
throws javax.ejb.CreateException,
javax.ejb.EJBException
- Called by container when creating new bean instance.
- Overrides:
ejbCreate
in class EmailBean
- See Also:
- EJB spec
Copyright © 1999-2003 enableIT.org. All Rights Reserved.