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, setLog
public void configure(org.apache.commons.configuration.HierarchicalConfiguration config) throws org.apache.commons.configuration.ConfigurationException
Configurable
configure
in interface Configurable
configure
in class AbstractDomainList
org.apache.commons.configuration.ConfigurationException
Configurable.configure(org.apache.commons.configuration.HierarchicalConfiguration)
protected List<String> getDomainListInternal()
AbstractDomainList
getDomainListInternal
in class AbstractDomainList
AbstractDomainList.getDomainListInternal()
public boolean containsDomain(String domains) throws DomainListException
DomainList
containsDomain
in interface DomainList
domains
- the domainDomainListException
DomainList.containsDomain(java.lang.String)
public void addDomain(String domain) throws DomainListException
DomainList
addDomain
in interface DomainList
domain
- domain to addDomainListException
- If the domain could not be addedDomainList.addDomain(java.lang.String)
public void removeDomain(String domain) throws DomainListException
DomainList
removeDomain
in interface DomainList
domain
- domain to removeDomainListException
- If the domain could not be removedDomainList.removeDomain(java.lang.String)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.