Inheritance diagram for org.objectweb.jonas.mail.MailService:
Public Member Functions | |
void | createMailFactory (String name, Properties props) throws MailServiceException |
Package Functions | |
void | recreateJavaMailFactory (JavaMail factory) throws MailServiceException |
void | renameJavaMailFactory (String oldName, JavaMail factory) throws MailServiceException |
void | unbindMailFactories () throws MailServiceException |
Florent Benoit
Definition at line 41 of file MailService.java.
|
Create a mail factory with the specified properties and register it into the registry. The created object is an instance of one of the 2 classes : JavaMailSession or JavaMailMimePartDS.
Implemented in org.objectweb.jonas.mail.MailServiceImpl. |
|
This method is used when a Mail Factory configuration is modified via jonasAdmin. In this case, the updated JavaMail object (JavaMailSession or JavaMailMimePartDS object) must be rebound in JNDI
Implemented in org.objectweb.jonas.mail.MailServiceImpl. |
|
This method is used when a particular Mail Factory configuration operation is done via jonasAdmin : when the JNDI name of this resource is modified. In this case, the initial JavaMail object (JavaMailSession or JavaMailMimePartDS object) must be unbound and the updated JavaMail object must be reloaded. Also, the Mail Service private data structures must be updated.
Implemented in org.objectweb.jonas.mail.MailServiceImpl. |
|
Unregister all the binding factories on the server.
Implemented in org.objectweb.jonas.mail.MailServiceImpl. |