org.objectweb.jonas.mail.factory.JavaMailMimePartDS Class Reference

Inherits org.objectweb.jonas.mail.factory.JavaMail.

Inheritance diagram for org.objectweb.jonas.mail.factory.JavaMailMimePartDS:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.mail.factory.JavaMailMimePartDS:

Collaboration graph
[legend]
List of all members.

Public Member Functions

String getType ()
 JavaMailMimePartDS (String factoryName, String name, Properties mailProperties)
Reference getReference () throws NamingException

Static Protected Attributes

final String MIMEMESSAGE_TO = "mail.to"
final String MIMEMESSAGE_CC = "mail.cc"
final String MIMEMESSAGE_BCC = "mail.bcc"
final String MIMEMESSAGE_SUBJECT = "mail.subject"

Package Functions

Properties getMimeMessageProperties ()
void setMimeMessageProperties (Properties props)

Detailed Description

This class provides a way for referencing mail session.
Author:
Florent Benoit

Ludovic Bert

Definition at line 47 of file JavaMailMimePartDS.java.


Constructor & Destructor Documentation

org.objectweb.jonas.mail.factory.JavaMailMimePartDS.JavaMailMimePartDS String  factoryName,
String  name,
Properties  mailProperties
 

Constructor of a JavaMailMimePartDS Object

Parameters:
factoryName the name of the factory.
name the name of this object.
mailProperties properties for configuring this object.

Definition at line 100 of file JavaMailMimePartDS.java.

References org.objectweb.jonas.mail.factory.JavaMail.getLogger(), org.objectweb.jonas.mail.factory.JavaMail.getMailSessionProperties(), org.objectweb.jonas.mail.factory.JavaMailMimePartDS.MIMEMESSAGE_BCC, org.objectweb.jonas.mail.factory.JavaMailMimePartDS.MIMEMESSAGE_CC, org.objectweb.jonas.mail.factory.JavaMailMimePartDS.MIMEMESSAGE_SUBJECT, and org.objectweb.jonas.mail.factory.JavaMailMimePartDS.MIMEMESSAGE_TO.

Here is the call graph for this function:


Member Function Documentation

Properties org.objectweb.jonas.mail.factory.JavaMailMimePartDS.getMimeMessageProperties  )  [package]
 

Retrieves the mimeMessage properties of this object.

Returns:
the mimeMessage properties of this object.

Definition at line 133 of file JavaMailMimePartDS.java.

Reference org.objectweb.jonas.mail.factory.JavaMailMimePartDS.getReference  )  throws NamingException [virtual]
 

Retrieves the Reference of the javax.mail.MimePartDataSource object. The Reference contains the factory used to create this object (that is the JavaMimePartDSFactory) and the optional parameters used to configure the factory.

Returns:
the non-null Reference of the javax.mail.MimePartDataSource object.
Exceptions:
NamingException if a naming exception was encountered while retrieving the reference.

Implements org.objectweb.jonas.mail.factory.JavaMail.

Definition at line 164 of file JavaMailMimePartDS.java.

References org.objectweb.jonas.mail.factory.JavaMail.getAuthenticationProperties(), and org.objectweb.jonas.mail.factory.JavaMail.getMailSessionProperties().

Here is the call graph for this function:

String org.objectweb.jonas.mail.factory.JavaMailMimePartDS.getType  )  [virtual]
 

Return the type of the factory

Returns:
the type of the mail factory

Implements org.objectweb.jonas.mail.factory.JavaMail.

Definition at line 89 of file JavaMailMimePartDS.java.

void org.objectweb.jonas.mail.factory.JavaMailMimePartDS.setMimeMessageProperties Properties  props  )  [package]
 

Set the mimeMessage properties of this object.

Parameters:
props the mimeMessage properties

Definition at line 141 of file JavaMailMimePartDS.java.

References org.objectweb.jonas.mail.factory.JavaMail.getLogger().

Here is the call graph for this function:


Member Data Documentation

final String org.objectweb.jonas.mail.factory.JavaMailMimePartDS.MIMEMESSAGE_BCC = "mail.bcc" [static, protected]
 

JOnAS-specific property for Mime Messages configuration (mail.bcc)

Definition at line 73 of file JavaMailMimePartDS.java.

Referenced by org.objectweb.jonas.mail.factory.JavaMailMimePartDS.JavaMailMimePartDS().

final String org.objectweb.jonas.mail.factory.JavaMailMimePartDS.MIMEMESSAGE_CC = "mail.cc" [static, protected]
 

JOnAS-specific property for Mime Messages configuration (mail.cc)

Definition at line 68 of file JavaMailMimePartDS.java.

Referenced by org.objectweb.jonas.mail.factory.JavaMailMimePartDS.JavaMailMimePartDS().

final String org.objectweb.jonas.mail.factory.JavaMailMimePartDS.MIMEMESSAGE_SUBJECT = "mail.subject" [static, protected]
 

JOnAS-specific property for Mime Messages configuration (mail.subject)

Definition at line 78 of file JavaMailMimePartDS.java.

Referenced by org.objectweb.jonas.mail.factory.JavaMailMimePartDS.JavaMailMimePartDS().

final String org.objectweb.jonas.mail.factory.JavaMailMimePartDS.MIMEMESSAGE_TO = "mail.to" [static, protected]
 

JOnAS-specific property for Mime Messages configuration (mail.to)

Definition at line 62 of file JavaMailMimePartDS.java.

Referenced by org.objectweb.jonas.mail.factory.JavaMailMimePartDS.JavaMailMimePartDS().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:06 2005 for JOnAS by  doxygen 1.3.9.1