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