|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides a description of the JavaMail service.
Method Summary | |
void |
createMailFactory(java.lang.String name,
java.util.Properties props)
Create a mail factory with the specified properties and register it into the registry. |
void |
recreateMailFactory(JMail factory)
|
void |
renameMailFactory(java.lang.String oldName,
JMail factory)
|
void |
unbindMailFactories()
Unregister all the binding factories on the server. |
Methods inherited from interface org.objectweb.jonas.service.Service |
getName, init, isStarted, setName, start, stop |
Method Detail |
public void createMailFactory(java.lang.String name, java.util.Properties props) throws MailServiceException
props
- the properties used to configure the mail factory.
MailServiceException
- if the creation or the registration of
the factory failed.public void recreateMailFactory(JMail factory) throws MailServiceException
MailServiceException
public void renameMailFactory(java.lang.String oldName, JMail factory) throws MailServiceException
MailServiceException
public void unbindMailFactories() throws MailServiceException
MailServiceException
- if the unregistration of the factories
failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |