00001
00027 package org.objectweb.jonas.mail;
00028
00029
00030 import java.util.Properties;
00031 import java.util.List;
00032
00038 public interface MailServiceImplMBean {
00039
00050 void createMailFactoryMBean(String name, Properties props, Boolean loadFromFile) throws MailServiceException;
00051
00055 Integer getCurrentNumberOfMailFactories();
00056
00061 Integer getCurrentNumberOfMimeMailFactories();
00062
00066 Integer getCurrentNumberOfSessionMailFactories();
00067
00074 Properties getMailFactoryPropertiesFile(String configFile) throws Exception;
00075
00081 List getMailFactoryPropertiesFiles() throws Exception;
00082
00088 List getMimePartMailFactoryPropertiesFiles() throws Exception;
00089
00095 List getSessionMailFactoryPropertiesFiles() throws Exception;
00096
00102 void unbindMailFactoryMBean(String name) throws MailServiceException;
00103
00104 }