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

Inherited by org.objectweb.jonas.mail.factory.JavaMailMimePartDSResource, and org.objectweb.jonas.mail.factory.JavaMailSessionResource.

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JavaMailResource (String objectName, boolean stateManageable, boolean statisticsProvider, boolean eventProvider, JavaMail mailFactory)
String getFactoryName ()
String getName ()
void setName (String name)
String getFactoryType ()
Properties getAuthenticationProperties ()
void setAuthenticationProperties (Properties props)
Properties getSessionProperties ()
void setSessionProperties (Properties props)
void saveConfig ()

Protected Member Functions

abstract long getSequenceNumber ()

Detailed Description

Author:
Adriana Danes
JavaMail resource implementation.

Definition at line 43 of file JavaMailResource.java.


Constructor & Destructor Documentation

org.objectweb.jonas.mail.factory.JavaMailResource.JavaMailResource String  objectName,
boolean  stateManageable,
boolean  statisticsProvider,
boolean  eventProvider,
JavaMail  mailFactory
 

JavaMail resource constructor.

Parameters:
objectName MBean ObjectName
stateManageable 
statisticsProvider 
eventProvider 
mailFactory 

Definition at line 55 of file JavaMailResource.java.


Member Function Documentation

Properties org.objectweb.jonas.mail.factory.JavaMailResource.getAuthenticationProperties  ) 
 

Get the authentication properties.

Returns:
properties of the authentication.

Definition at line 93 of file JavaMailResource.java.

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

Here is the call graph for this function:

String org.objectweb.jonas.mail.factory.JavaMailResource.getFactoryName  ) 
 

Get the name of the factory.

Returns:
the name of the mail factory (the resource name as defined in jonas.properties)

Definition at line 64 of file JavaMailResource.java.

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

Referenced by org.objectweb.jonas.mail.factory.JavaMailResource.saveConfig().

Here is the call graph for this function:

String org.objectweb.jonas.mail.factory.JavaMailResource.getFactoryType  ) 
 

Get the type of the factory.

Returns:
type of the mail factory.

Definition at line 85 of file JavaMailResource.java.

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

Here is the call graph for this function:

String org.objectweb.jonas.mail.factory.JavaMailResource.getName  ) 
 

Get the name of the factory.

Returns:
name of the mail factory.

Definition at line 71 of file JavaMailResource.java.

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

Here is the call graph for this function:

abstract long org.objectweb.jonas.mail.factory.JavaMailResource.getSequenceNumber  )  [protected, pure virtual]
 

Gets the sequence number for MBeans operations

Returns:
the sequence number for MBeans operations

Implemented in org.objectweb.jonas.mail.factory.JavaMailSessionResource.

Referenced by org.objectweb.jonas.mail.factory.JavaMailResource.saveConfig().

Properties org.objectweb.jonas.mail.factory.JavaMailResource.getSessionProperties  ) 
 

Get the session properties.

Returns:
the properties of Session.

Definition at line 110 of file JavaMailResource.java.

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

Here is the call graph for this function:

void org.objectweb.jonas.mail.factory.JavaMailResource.saveConfig  ) 
 

Save updated configuration

Definition at line 126 of file JavaMailResource.java.

References org.objectweb.jonas.mail.factory.JavaMailResource.getFactoryName(), and org.objectweb.jonas.mail.factory.JavaMailResource.getSequenceNumber().

Here is the call graph for this function:

void org.objectweb.jonas.mail.factory.JavaMailResource.setAuthenticationProperties Properties  props  ) 
 

Set the authentication properties.

Parameters:
props the authentication properties.

Definition at line 101 of file JavaMailResource.java.

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

Here is the call graph for this function:

void org.objectweb.jonas.mail.factory.JavaMailResource.setName String  name  ) 
 

Set the name of the factory.

Parameters:
name name of the mail factory.

Definition at line 78 of file JavaMailResource.java.

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

Here is the call graph for this function:

void org.objectweb.jonas.mail.factory.JavaMailResource.setSessionProperties Properties  props  ) 
 

Set the session properties.

Parameters:
props the Session properties.

Definition at line 118 of file JavaMailResource.java.

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

Here is the call graph for this function:


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