|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.domainlist.lib.AbstractDomainList
public abstract class AbstractDomainList
All implementations of the DomainList interface should extends this abstract class
| Constructor Summary | |
|---|---|
AbstractDomainList()
|
|
| Method Summary | |
|---|---|
void |
configure(org.apache.commons.configuration.HierarchicalConfiguration config)
|
String |
getDefaultDomain()
|
protected DNSService |
getDNSServer()
Return dnsServer |
protected abstract List<String> |
getDomainListInternal()
Return domainList |
String[] |
getDomains()
|
protected org.slf4j.Logger |
getLogger()
|
void |
setAutoDetect(boolean autoDetect)
Set to true to autodetect the hostname of the host on which james is running, and add this to the domain service Default is true |
void |
setAutoDetectIP(boolean autoDetectIP)
Set to true to lookup the ipaddresses for each given domain and add these to the domain service Default is true |
void |
setDNSService(DNSService dns)
|
void |
setLog(org.slf4j.Logger logger)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.james.domainlist.api.DomainList |
|---|
addDomain, containsDomain, removeDomain |
| Constructor Detail |
|---|
public AbstractDomainList()
| Method Detail |
|---|
public void setDNSService(DNSService dns)
public void setLog(org.slf4j.Logger logger)
setLog in interface LogEnabledprotected org.slf4j.Logger getLogger()
public void configure(org.apache.commons.configuration.HierarchicalConfiguration config)
throws org.apache.commons.configuration.ConfigurationException
configure in interface Configurableorg.apache.commons.configuration.ConfigurationExceptionConfigurable.configure(HierarchicalConfiguration)
public String getDefaultDomain()
throws DomainListException
getDefaultDomain in interface DomainListDomainListExceptionDomainList.getDefaultDomain()
public String[] getDomains()
throws DomainListException
getDomains in interface DomainListDomainListExceptionDomainList.getDomains()public void setAutoDetect(boolean autoDetect)
autoDetect - set to false for disablepublic void setAutoDetectIP(boolean autoDetectIP)
autoDetectIP - set to false for disableprotected DNSService getDNSServer()
protected abstract List<String> getDomainListInternal()
throws DomainListException
DomainListException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||