public class XMLDomainList extends AbstractDomainList implements Configurable
| Constructor and Description |
|---|
XMLDomainList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDomain(String domain)
Add domain to the service
|
void |
configure(org.apache.commons.configuration.HierarchicalConfiguration config)
Configure the object.
|
boolean |
containsDomain(String domains)
Return true if the domain exists in the service
|
protected List<String> |
getDomainListInternal()
Return domainList
|
void |
removeDomain(String domain)
Remove domain from the service
|
getDefaultDomain, getDNSServer, getDomains, getLogger, setAutoDetect, setAutoDetectIP, setDNSService, setLogpublic void configure(org.apache.commons.configuration.HierarchicalConfiguration config)
throws org.apache.commons.configuration.ConfigurationException
Configurableconfigure in interface Configurableconfigure in class AbstractDomainListorg.apache.commons.configuration.ConfigurationExceptionConfigurable.configure(org.apache.commons.configuration.HierarchicalConfiguration)protected List<String> getDomainListInternal()
AbstractDomainListgetDomainListInternal in class AbstractDomainListAbstractDomainList.getDomainListInternal()public boolean containsDomain(String domains) throws DomainListException
DomainListcontainsDomain in interface DomainListdomains - the domainDomainListExceptionDomainList.containsDomain(java.lang.String)public void addDomain(String domain) throws DomainListException
DomainListaddDomain in interface DomainListdomain - domain to addDomainListException - If the domain could not be addedDomainList.addDomain(java.lang.String)public void removeDomain(String domain) throws DomainListException
DomainListremoveDomain in interface DomainListdomain - domain to removeDomainListException - If the domain could not be removedDomainList.removeDomain(java.lang.String)Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.