|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MailService
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 |
recreateJavaMailFactory(JavaMail factory)
This method is used when a Mail Factory configuration is modified via jonasAdmin. |
void |
renameJavaMailFactory(java.lang.String oldName,
JavaMail factory)
This method is used when a particular Mail Factory configuration operation is done via jonasAdmin : when the JNDI name of this resource is modified. |
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 |
|---|
void createMailFactory(java.lang.String name,
java.util.Properties props)
throws MailServiceException
name - the mail factory nameprops - the properties used to configure the mail factory.
MailServiceException - if the creation or the registration of the
factory failed.
void recreateJavaMailFactory(JavaMail factory)
throws MailServiceException
factory - the factory
MailServiceException - if the recreation of the factory failed.
void renameJavaMailFactory(java.lang.String oldName,
JavaMail factory)
throws MailServiceException
oldName - old name of the factoryfactory - the new factory
MailServiceException - if the rename of the the factory failed.
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 | ||||||||