|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

public interface SessionManager
Interface defining a mechanism to abstract the implementation details of obtaining a JavaMail Session.
| Method Summary | |
|---|---|
void |
destroy()
Destroy this manager. |
javax.mail.Session |
getSession()
Return a JavaMail Session instance. |
void |
init(XMLProperties xmlProps)
Initialise this SessionManager with the given XML configuration properties. |
| Method Detail |
|---|
void init(XMLProperties xmlProps)
throws MailException
xmlProps - XML configuration properties.
MailException - if the SessionManager cannot be initialised.
javax.mail.Session getSession()
throws MailException
MailException - if a Session cannot be returned.
void destroy()
throws MailException
MailException - if the manager cannot be destroyed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||