|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.mail.internal.factory.AbstractJavaMail org.ow2.jonas.mail.internal.factory.JavaMailMimePartDS
public class JavaMailMimePartDS
This class provides a way for referencing mail session.
Field Summary | |
---|---|
protected static String |
MIMEMESSAGE_BCC
JOnAS-specific property for Mime Messages configuration (mail.bcc). |
protected static String |
MIMEMESSAGE_CC
JOnAS-specific property for Mime Messages configuration (mail.cc). |
protected static String |
MIMEMESSAGE_SUBJECT
JOnAS-specific property for Mime Messages configuration (mail.subject). |
protected static String |
MIMEMESSAGE_TO
JOnAS-specific property for Mime Messages configuration (mail.to). |
Constructor Summary | |
---|---|
JavaMailMimePartDS(String factoryName,
String name,
Properties mailProperties,
MailService mailService)
Constructor of a JavaMailMimePartDS Object. |
Method Summary | |
---|---|
Properties |
getMimeMessageProperties()
Retrieves the mimeMessage properties of this object. |
Reference |
getReference()
Retrieves the Reference of the javax.mail.MimePartDataSource object. |
String |
getType()
Return the type of the factory. |
void |
setMimeMessageProperties(Properties props)
Set the mimeMessage properties of this object. |
Methods inherited from class org.ow2.jonas.mail.internal.factory.AbstractJavaMail |
---|
getAuthenticationProperties, getFactoryName, getLogger, getMailService, getMailSessionProperties, getName, getSessionProperties, setAuthenticationProperties, setLogger, setMailSessionProperties, setName, setSessionProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String MIMEMESSAGE_TO
protected static final String MIMEMESSAGE_CC
protected static final String MIMEMESSAGE_BCC
protected static final String MIMEMESSAGE_SUBJECT
Constructor Detail |
---|
public JavaMailMimePartDS(String factoryName, String name, Properties mailProperties, MailService mailService)
factoryName
- the name of the factory.name
- the name of this object.mailProperties
- properties for configuring this object.Method Detail |
---|
public String getType()
public Properties getMimeMessageProperties()
public void setMimeMessageProperties(Properties props)
props
- the mimeMessage propertiespublic Reference getReference() throws NamingException
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 |