|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas.mail.factory.JMail | +--org.objectweb.jonas.mail.factory.JMailSession
This class provides a way for referencing mail session.
Fields inherited from class org.objectweb.jonas.mail.factory.JMail |
authenticationProperties, logger, mailSessionProperties |
Constructor Summary | |
JMailSession(java.lang.String factoryName,
java.lang.String name,
java.util.Properties mailProperties)
Constructor of a JMailSession Object. |
Method Summary | |
java.lang.String |
_getType()
Return the type of the factory |
javax.naming.Reference |
getReference()
Retrieves the Reference of the javax.mail.Session object. |
Methods inherited from class org.objectweb.jonas.mail.factory.JMail |
_getFactoryName, _getName, getAuthenticationProperties, getBytesFromObject, getFactoryName, getFactoryType, getName, getSessionProperties, setAuthenticationProperties, setName, setSessionProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jonas.mail.factory.JMailMBean |
getAuthenticationProperties, getFactoryName, getFactoryType, getName, getSessionProperties, setAuthenticationProperties, setName, setSessionProperties |
Constructor Detail |
public JMailSession(java.lang.String factoryName, java.lang.String name, java.util.Properties mailProperties)
factoryName
- the name of the factory.name
- the jndi namemailProperties
- properties for configuring this object.Method Detail |
public java.lang.String _getType()
_getType
in class JMail
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in class JMail
javax.naming.NamingException
- if a naming exception was encountered while
retrieving the reference.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |