|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.mail.factory.JavaMail org.objectweb.jonas.mail.factory.JavaMailMimePartDS
public class JavaMailMimePartDS
This class provides a way for referencing mail session.
Field Summary | |
---|---|
protected static java.lang.String |
MIMEMESSAGE_BCC
JOnAS-specific property for Mime Messages configuration (mail.bcc) |
protected static java.lang.String |
MIMEMESSAGE_CC
JOnAS-specific property for Mime Messages configuration (mail.cc) |
protected static java.lang.String |
MIMEMESSAGE_SUBJECT
JOnAS-specific property for Mime Messages configuration (mail.subject) |
protected static java.lang.String |
MIMEMESSAGE_TO
JOnAS-specific property for Mime Messages configuration (mail.to) |
Constructor Summary | |
---|---|
JavaMailMimePartDS(java.lang.String factoryName,
java.lang.String name,
java.util.Properties mailProperties)
Constructor of a JavaMailMimePartDS Object |
Method Summary | |
---|---|
javax.naming.Reference |
getReference()
Retrieves the Reference of the javax.mail.MimePartDataSource object. |
java.lang.String |
getType()
Return the type of the factory |
Methods inherited from class org.objectweb.jonas.mail.factory.JavaMail |
---|
getFactoryName, getLogger, getMailSessionProperties, getName, setLogger, setMailSessionProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String MIMEMESSAGE_TO
protected static final java.lang.String MIMEMESSAGE_CC
protected static final java.lang.String MIMEMESSAGE_BCC
protected static final java.lang.String MIMEMESSAGE_SUBJECT
Constructor Detail |
---|
public JavaMailMimePartDS(java.lang.String factoryName, java.lang.String name, java.util.Properties mailProperties)
factoryName
- the name of the factory.name
- the name of this object.mailProperties
- properties for configuring this object.Method Detail |
---|
public java.lang.String getType()
getType
in class JavaMail
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
getReference
in class JavaMail
javax.naming.NamingException
- if a naming exception was encountered while
retrieving the reference.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |