public interface DomainListManagementMBean
| Modifier and Type | Method and Description |
|---|---|
void |
addDomain(String domain)
Add domain to the service
|
boolean |
containsDomain(String domain)
Return true if the domain exists in the service
|
String |
getDefaultDomain()
Return the default domain which will get used to deliver mail to if only
the localpart was given on rcpt to.
|
String[] |
getDomains()
Return array of domains which should be used as localdomains.
|
void |
removeDomain(String domain)
Remove domain from the service
|
String[] getDomains() throws Exception
Exceptionboolean containsDomain(String domain) throws Exception
domain - the domainExceptionvoid addDomain(String domain) throws Exception
domain - domain to addException - If the domain could not be addedvoid removeDomain(String domain) throws Exception
domain - domain to removeException - If the domain could not be removedCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.