org.objectweb.jonas.mail.MailServiceImplMBean Interface Reference

Inherited by org.objectweb.jonas.mail.MailServiceImpl.

Inheritance diagram for org.objectweb.jonas.mail.MailServiceImplMBean:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void createMailFactoryMBean (String name, Properties props, Boolean loadFromFile) throws MailServiceException

Package Functions

Integer getCurrentNumberOfMailFactories ()
Integer getCurrentNumberOfMimeMailFactories ()
Integer getCurrentNumberOfSessionMailFactories ()
Properties getMailFactoryPropertiesFile (String configFile) throws Exception
List getMailFactoryPropertiesFiles () throws Exception
List getMimePartMailFactoryPropertiesFiles () throws Exception
List getSessionMailFactoryPropertiesFiles () throws Exception
void unbindMailFactoryMBean (String name) throws MailServiceException

Detailed Description

This interface provides a description for the mail service management.
Author:
Ludovic Bert

Florent Benoit

Definition at line 38 of file MailServiceImplMBean.java.


Member Function Documentation

void org.objectweb.jonas.mail.MailServiceImplMBean.createMailFactoryMBean String  name,
Properties  props,
Boolean  loadFromFile
throws MailServiceException
 

Create a mail factory with the specified properties and register it into the registry.

Parameters:
name the name of the mail factory
props the properties used to configure the mail factory.
loadFromFile true if the mail factory is loaded from a .properties file
Exceptions:
MailServiceException if the creation or the registration of the factory failed.

Implemented in org.objectweb.jonas.mail.MailServiceImpl.

Integer org.objectweb.jonas.mail.MailServiceImplMBean.getCurrentNumberOfMailFactories  )  [package]
 

Returns:
Integer Total number of mail factories available in JOnAS

Implemented in org.objectweb.jonas.mail.MailServiceImpl.

Integer org.objectweb.jonas.mail.MailServiceImplMBean.getCurrentNumberOfMimeMailFactories  )  [package]
 

Returns:
Integer Number of internet.MimePartDataSource mail factories available in JOnAS

Implemented in org.objectweb.jonas.mail.MailServiceImpl.

Integer org.objectweb.jonas.mail.MailServiceImplMBean.getCurrentNumberOfSessionMailFactories  )  [package]
 

Returns:
Integer Number of mail Session mail factories available in JOnAS

Implemented in org.objectweb.jonas.mail.MailServiceImpl.

Properties org.objectweb.jonas.mail.MailServiceImplMBean.getMailFactoryPropertiesFile String  configFile  )  throws Exception [package]
 

Gets the mail factory configuration properties from a local file

Parameters:
configFile configuration to use
Returns:
mail factory configuration properties from a local file
Exceptions:
Exception if it fails

Implemented in org.objectweb.jonas.mail.MailServiceImpl.

List org.objectweb.jonas.mail.MailServiceImplMBean.getMailFactoryPropertiesFiles  )  throws Exception [package]
 

Returns:
the list of properties files describeing mail factories found in JONAS_BASE/conf
Exceptions:
Exception if the list can't be returned

Implemented in org.objectweb.jonas.mail.MailServiceImpl.

List org.objectweb.jonas.mail.MailServiceImplMBean.getMimePartMailFactoryPropertiesFiles  )  throws Exception [package]
 

Returns:
the list of properties files describeing MimePartDataSource mail factories found in JONAS_BASE/conf
Exceptions:
Exception if the list can't be returned

Implemented in org.objectweb.jonas.mail.MailServiceImpl.

List org.objectweb.jonas.mail.MailServiceImplMBean.getSessionMailFactoryPropertiesFiles  )  throws Exception [package]
 

Returns:
the list of properties files describeing Session mail factories found in JONAS_BASE/conf
Exceptions:
Exception if the list can't be returned

Implemented in org.objectweb.jonas.mail.MailServiceImpl.

void org.objectweb.jonas.mail.MailServiceImplMBean.unbindMailFactoryMBean String  name  )  throws MailServiceException [package]
 

Unregister the factory binded with the given name.

Parameters:
name the name of the factory.
Exceptions:
MailServiceException if the unregistration of the factory failed.

Implemented in org.objectweb.jonas.mail.MailServiceImpl.


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