|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MailServiceImplMBean
This interface provides a description for the mail service management.
| Method Summary | |
|---|---|
void |
createMailFactoryMBean(java.lang.String name,
java.util.Properties props,
java.lang.Boolean loadFromFile)
Create a mail factory with the specified properties and register it into the registry. |
java.lang.Integer |
getCurrentNumberOfMailFactories()
|
java.lang.Integer |
getCurrentNumberOfMimeMailFactories()
|
java.lang.Integer |
getCurrentNumberOfSessionMailFactories()
|
java.util.Properties |
getMailFactoryPropertiesFile(java.lang.String configFile)
Gets the mail factory configuration properties from a local file |
java.util.List |
getMailFactoryPropertiesFiles()
|
java.util.List |
getMimePartMailFactoryPropertiesFiles()
|
java.util.List |
getSessionMailFactoryPropertiesFiles()
|
void |
unbindMailFactoryMBean(java.lang.String name)
Unregister the factory binded with the given name. |
| Method Detail |
|---|
void createMailFactoryMBean(java.lang.String name,
java.util.Properties props,
java.lang.Boolean loadFromFile)
throws MailServiceException
name - the name of the mail factoryprops - the properties used to configure the mail factory.loadFromFile - true if the mail factory is loaded from a .properties
file
MailServiceException - if the creation or the registration of the
factory failed.java.lang.Integer getCurrentNumberOfMailFactories()
java.lang.Integer getCurrentNumberOfMimeMailFactories()
java.lang.Integer getCurrentNumberOfSessionMailFactories()
java.util.Properties getMailFactoryPropertiesFile(java.lang.String configFile)
throws java.lang.Exception
configFile - configuration to use
java.lang.Exception - if it fails
java.util.List getMailFactoryPropertiesFiles()
throws java.lang.Exception
java.lang.Exception - if the list can't be returned
java.util.List getMimePartMailFactoryPropertiesFiles()
throws java.lang.Exception
java.lang.Exception - if the list can't be returned
java.util.List getSessionMailFactoryPropertiesFiles()
throws java.lang.Exception
java.lang.Exception - if the list can't be returned
void unbindMailFactoryMBean(java.lang.String name)
throws MailServiceException
name - the name of the factory.
MailServiceException - if the unregistration of the factory failed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||