| |
|
| org.objectweb.jonas.mail.MailServiceImplMBean
All known Subclasses: org.objectweb.jonas.mail.MailServiceImpl,
MailServiceImplMBean | public interface MailServiceImplMBean (Code) | | This interface provides a description for the mail service management.
author: Ludovic Bert author: Florent Benoit |
createMailFactoryMBean | void createMailFactoryMBean(String name, Properties props, Boolean loadFromFile) throws MailServiceException(Code) | | Create a mail factory with the specified properties and register it into
the registry.
Parameters: name - the name of the mail factory Parameters: props - the properties used to configure the mail factory. Parameters: loadFromFile - true if the mail factory is loaded from a .propertiesfile throws: MailServiceException - if the creation or the registration of thefactory failed. |
getCurrentNumberOfMailFactories | Integer getCurrentNumberOfMailFactories()(Code) | | Integer Total number of mail factories available in JOnAS |
getCurrentNumberOfMimeMailFactories | Integer getCurrentNumberOfMimeMailFactories()(Code) | | Integer Number of internet.MimePartDataSource mail factoriesavailable in JOnAS |
getCurrentNumberOfSessionMailFactories | Integer getCurrentNumberOfSessionMailFactories()(Code) | | Integer Number of mail Session mail factories available in JOnAS |
getMailFactoryPropertiesFile | Properties getMailFactoryPropertiesFile(String configFile) throws Exception(Code) | | Gets the mail factory configuration properties from a local file
Parameters: configFile - configuration to use mail factory configuration properties from a local file throws: Exception - if it fails |
getMailFactoryPropertiesFiles | List getMailFactoryPropertiesFiles() throws Exception(Code) | | the list of properties files describeing mail factories found inJONAS_BASE/conf throws: Exception - if the list can't be returned |
getMimePartMailFactoryPropertiesFiles | List getMimePartMailFactoryPropertiesFiles() throws Exception(Code) | | the list of properties files describeing MimePartDataSource mailfactories found in JONAS_BASE/conf throws: Exception - if the list can't be returned |
getSessionMailFactoryPropertiesFiles | List getSessionMailFactoryPropertiesFiles() throws Exception(Code) | | the list of properties files describeing Session mail factoriesfound in JONAS_BASE/conf throws: Exception - if the list can't be returned |
unbindMailFactoryMBean | void unbindMailFactoryMBean(String name) throws MailServiceException(Code) | | Unregister the factory binded with the given name.
Parameters: name - the name of the factory. throws: MailServiceException - if the unregistration of the factory failed. |
|
|
|