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

java.lang.Objecttoolbox.mail.SessionManagerMailConfigImpl
public class SessionManagerMailConfigImpl
SessionManager implementation that utilises the
toolbox.allegato.MailConfig class to obtain a reference to
javax.mail.Session instance.
| Constructor Summary | |
|---|---|
SessionManagerMailConfigImpl()
Default constructor |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SessionManagerMailConfigImpl()
| Method Detail |
|---|
public void init(XMLProperties xmlProps)
throws MailException
init in interface SessionManagerxmlProps - XML configuration properties.
MailException - if the SessionManager cannot be initialised.
public javax.mail.Session getSession()
throws MailException
getSession in interface SessionManagerMailException - if a Session cannot be returned.
public void destroy()
throws MailException
destroy in interface SessionManagerMailException - if the manager cannot be destroyed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||