|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.api.domainlist.SimpleDomainList
public class SimpleDomainList
Simplest implementation for ManageableDomainList
| Field Summary |
|---|
| Fields inherited from interface org.apache.james.api.domainlist.ManageableDomainList |
|---|
ROLE |
| Constructor Summary | |
|---|---|
SimpleDomainList()
|
|
| Method Summary | |
|---|---|
boolean |
addDomain(java.lang.String domain)
Add domain to the service |
boolean |
containsDomain(java.lang.String domain)
Return true if the domain exists in the service |
java.util.List |
getDomains()
Return List of domains which should be used as localdomains. |
boolean |
removeDomain(java.lang.String domain)
Remove domain from the service |
void |
setAutoDetect(boolean autodetect)
Set to true to autodetect the hostname of the host on which james is runnin, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleDomainList()
| Method Detail |
|---|
public boolean containsDomain(java.lang.String domain)
DomainList
containsDomain in interface DomainListdomain - the domain
public java.util.List getDomains()
DomainList
getDomains in interface DomainListpublic void setAutoDetect(boolean autodetect)
DomainList
setAutoDetect in interface DomainListautodetect - set to false for disablepublic void setAutoDetectIP(boolean autodetectIP)
DomainList
setAutoDetectIP in interface DomainListautodetectIP - set to false for disablepublic boolean addDomain(java.lang.String domain)
ManageableDomainList
addDomain in interface ManageableDomainListdomain - domain to add
public boolean removeDomain(java.lang.String domain)
ManageableDomainList
removeDomain in interface ManageableDomainListdomain - domain to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||