|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.mail.MailServiceEnvironment
public class MailServiceEnvironment
ServiceEnvironment implemenation to provide access to a
toolbox.mail.MailManager
implementation.
Constructor Summary | |
---|---|
MailServiceEnvironment()
Default constructor. |
Method Summary | |
---|---|
void |
create(java.lang.String name,
java.lang.String conf)
Create and set the MailManager for this environment. |
void |
destroy()
Destroy this environment by destroying the member MailManager. |
MailManager |
getMailManager()
Return the member MailManager. |
java.lang.String |
getName()
Return the name of this environment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MailServiceEnvironment()
Method Detail |
---|
public void create(java.lang.String name, java.lang.String conf) throws ServiceException
create
in interface ServiceEnvironment
name
- The name of this environment.conf
- The location of this environment's configuration.
ServiceException
- if the environment cannot be initialised.public java.lang.String getName()
getName
in interface ServiceEnvironment
public MailManager getMailManager()
public void destroy() throws ServiceException
destroy
in interface ServiceEnvironment
ServiceException
- if this environment cannot be destroyed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |