|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides a description for the mail service management.
Method Summary | |
void |
createMailFactoryMBean(java.lang.String name,
java.util.Properties props)
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)
|
void |
unbindMailFactoryMBean(java.lang.String name)
Unregister the factory binded with the given name. |
Method Detail |
public void createMailFactoryMBean(java.lang.String name, java.util.Properties props) throws MailServiceException
name
- the name of the mail factoryprops
- the properties used to configure the mail factory.
MailServiceException
- if the creation or the registration of
the factory failed.
java.rmi.RemoteException
- if rmi call failed.public void unbindMailFactoryMBean(java.lang.String name) throws MailServiceException
name
- the name of the factory.
MailServiceException
- if the unregistration of the
factory failed.
java.rmi.RemoteException
- if rmi call failed.public java.lang.Integer getCurrentNumberOfSessionMailFactories()
public java.lang.Integer getCurrentNumberOfMimeMailFactories()
public java.lang.Integer getCurrentNumberOfMailFactories()
public java.util.Properties getMailFactoryPropertiesFile(java.lang.String configFile) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |