public class DomainListManagement extends StandardMBean implements org.apache.james.domainlist.api.DomainListManagementMBean
| Constructor and Description |
|---|
DomainListManagement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDomain(String domain) |
boolean |
containsDomain(String domain) |
String |
getDefaultDomain() |
List<String> |
getDomains() |
void |
removeDomain(String domain) |
void |
setDomainList(org.apache.james.domainlist.api.DomainList domainList) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic DomainListManagement() throws NotCompliantMBeanException
NotCompliantMBeanException@Inject public void setDomainList(org.apache.james.domainlist.api.DomainList domainList)
public void addDomain(String domain) throws Exception
addDomain in interface org.apache.james.domainlist.api.DomainListManagementMBeanExceptionpublic boolean containsDomain(String domain) throws Exception
containsDomain in interface org.apache.james.domainlist.api.DomainListManagementMBeanExceptionpublic List<String> getDomains() throws Exception
getDomains in interface org.apache.james.domainlist.api.DomainListManagementMBeanExceptionpublic void removeDomain(String domain) throws Exception
removeDomain in interface org.apache.james.domainlist.api.DomainListManagementMBeanExceptionpublic String getDefaultDomain() throws Exception
getDefaultDomain in interface org.apache.james.domainlist.api.DomainListManagementMBeanExceptionCopyright © 2002-2017 The Apache Software Foundation. All Rights Reserved.