1 26 27 package org.objectweb.jonas.mail; 28 29 import java.util.Properties ; 31 import java.util.List ; 32 33 38 public interface MailServiceImplMBean { 39 40 50 void createMailFactoryMBean(String name, Properties props, Boolean loadFromFile) throws MailServiceException; 51 52 55 Integer getCurrentNumberOfMailFactories(); 56 57 61 Integer getCurrentNumberOfMimeMailFactories(); 62 63 66 Integer getCurrentNumberOfSessionMailFactories(); 67 68 74 Properties getMailFactoryPropertiesFile(String configFile) throws Exception ; 75 76 81 List getMailFactoryPropertiesFiles() throws Exception ; 82 83 88 List getMimePartMailFactoryPropertiesFiles() throws Exception ; 89 90 95 List getSessionMailFactoryPropertiesFiles() throws Exception ; 96 97 102 void unbindMailFactoryMBean(String name) throws MailServiceException; 103 104 } | Popular Tags |