| |
|
| java.lang.Object org.objectweb.jonas.mail.factory.JavaMail org.objectweb.jonas.mail.factory.JavaMailSession
JavaMailSession | public class JavaMailSession extends JavaMail (Code) | | This class provides a way for referencing mail session.
author: Florent Benoit author: Ludovic Bert |
JavaMailSession | public JavaMailSession(String factoryName, String name, Properties mailProperties)(Code) | | Constructor of a JMailSession Object.
Parameters: factoryName - the name of the factory. Parameters: name - the jndi name Parameters: mailProperties - properties for configuring this object. |
getReference | public Reference getReference() throws NamingException(Code) | | Retrieves the Reference of the javax.mail.Session object.
The Reference contains the factory used to create this object
(that is the JavaMailSessionFactory) and the optional parameters used to
configure the factory.
the non-null Reference of the javax.mail.Session object. throws: NamingException - if a naming exception was encountered whileretrieving the reference. |
getType | public String getType()(Code) | | Return the type of the factory
the type of the mail factory |
|
|
|