|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.management.impl.DomainListManagement
public class DomainListManagement
Provide management class for DomainLists
| Field Summary |
|---|
| Fields inherited from interface org.apache.james.management.DomainListManagementService |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DomainListManagement()
|
|
| 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 |
service(org.apache.avalon.framework.service.ServiceManager arg0)
|
void |
setDomainList(DomainList domList)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DomainListManagement()
| Method Detail |
|---|
public void service(org.apache.avalon.framework.service.ServiceManager arg0)
throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableorg.apache.avalon.framework.service.ServiceExceptionServiceable.service(org.apache.avalon.framework.service.ServiceManager)public void setDomainList(DomainList domList)
public boolean addDomain(java.lang.String domain)
throws DomainListManagementException
DomainListManagementMBean
addDomain in interface DomainListManagementMBeanaddDomain in interface DomainListManagementServicedomain - domain to add
DomainListManagementExceptionDomainListManagementService.addDomain(java.lang.String)
public boolean removeDomain(java.lang.String domain)
throws DomainListManagementException
DomainListManagementMBean
removeDomain in interface DomainListManagementMBeanremoveDomain in interface DomainListManagementServicedomain - domain to remove
DomainListManagementExceptionDomainListManagementService.removeDomain(java.lang.String)public boolean containsDomain(java.lang.String domain)
DomainListManagementMBean
containsDomain in interface DomainListManagementMBeancontainsDomain in interface DomainListManagementServicedomain - the domain
DomainListManagementService.containsDomain(java.lang.String)public java.util.List getDomains()
DomainListManagementMBean
getDomains in interface DomainListManagementMBeangetDomains in interface DomainListManagementServiceDomainListManagementService.getDomains()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||