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

Inherited by org.objectweb.jonas.mail.factory.JavaMailMimePartDSResourceMBean, and org.objectweb.jonas.mail.factory.JavaMailSessionResourceMBean.

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

 JavaMailResourceMBean () throws MBeanException
void addNotificationListener (NotificationListener pListner, NotificationFilter pFilter, java.lang.Object pHandback) throws java.lang.IllegalArgumentException

Package Functions

String getFactoryName ()
String getName ()
void setName (String name)
String getFactoryType ()
Properties getAuthenticationProperties ()
void setAuthenticationProperties (Properties props)
Properties getSessionProperties ()
void setSessionProperties (Properties props)
void saveConfig ()

Detailed Description

This interface defines all the management methods provided by the JavaMailResource objects.
Author:
Florent Benoit

Ludovic Bert

Adriana Danes:

Definition at line 47 of file JavaMailResourceMBean.java.


Constructor & Destructor Documentation

org.objectweb.jonas.mail.factory.JavaMailResourceMBean.JavaMailResourceMBean  )  throws MBeanException
 

Default constructor

Exceptions:
MBeanException if super constructor fails

Definition at line 52 of file JavaMailResourceMBean.java.


Member Function Documentation

void org.objectweb.jonas.mail.factory.JavaMailResourceMBean.addNotificationListener NotificationListener  pListner,
NotificationFilter  pFilter,
java.lang.Object  pHandback
throws java.lang.IllegalArgumentException
 

Add a new listener.

Parameters:
pListner Listener to notify
pFilter Notification filter
pHandback ??
Exceptions:
java.lang.IllegalArgumentException if notification is not done

Definition at line 135 of file JavaMailResourceMBean.java.

Properties org.objectweb.jonas.mail.factory.JavaMailResourceMBean.getAuthenticationProperties  )  [package]
 

Get the authentication properties.

Returns:
properties of the authentication.

Definition at line 93 of file JavaMailResourceMBean.java.

String org.objectweb.jonas.mail.factory.JavaMailResourceMBean.getFactoryName  )  [package]
 

Get the name of the factory.

Returns:
name of the mail factory.

Definition at line 60 of file JavaMailResourceMBean.java.

String org.objectweb.jonas.mail.factory.JavaMailResourceMBean.getFactoryType  )  [package]
 

Get the type of the factory.

Returns:
type of the mail factory.

Definition at line 84 of file JavaMailResourceMBean.java.

String org.objectweb.jonas.mail.factory.JavaMailResourceMBean.getName  )  [package]
 

Get the name of the factory.

Returns:
name of the mail factory.

Definition at line 68 of file JavaMailResourceMBean.java.

Properties org.objectweb.jonas.mail.factory.JavaMailResourceMBean.getSessionProperties  )  [package]
 

Get the session properties.

Returns:
the properties of Session.

Definition at line 109 of file JavaMailResourceMBean.java.

void org.objectweb.jonas.mail.factory.JavaMailResourceMBean.saveConfig  )  [package]
 

Save updated configuration

Definition at line 124 of file JavaMailResourceMBean.java.

void org.objectweb.jonas.mail.factory.JavaMailResourceMBean.setAuthenticationProperties Properties  props  )  [package]
 

Set the authentication properties.

Parameters:
props the authentication properties.

Definition at line 101 of file JavaMailResourceMBean.java.

void org.objectweb.jonas.mail.factory.JavaMailResourceMBean.setName String  name  )  [package]
 

Set the name of the factory.

Parameters:
name name of the mail factory.

Definition at line 76 of file JavaMailResourceMBean.java.

void org.objectweb.jonas.mail.factory.JavaMailResourceMBean.setSessionProperties Properties  props  )  [package]
 

Set the session properties.

Parameters:
props the Session properties.

Definition at line 117 of file JavaMailResourceMBean.java.


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