|
||||||||||
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.Serviceable
org.apache.avalon.framework.service.ServiceException
Serviceable.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 DomainListManagementMBean
addDomain
in interface DomainListManagementService
domain
- domain to add
DomainListManagementException
DomainListManagementService.addDomain(java.lang.String)
public boolean removeDomain(java.lang.String domain) throws DomainListManagementException
DomainListManagementMBean
removeDomain
in interface DomainListManagementMBean
removeDomain
in interface DomainListManagementService
domain
- domain to remove
DomainListManagementException
DomainListManagementService.removeDomain(java.lang.String)
public boolean containsDomain(java.lang.String domain)
DomainListManagementMBean
containsDomain
in interface DomainListManagementMBean
containsDomain
in interface DomainListManagementService
domain
- the domain
DomainListManagementService.containsDomain(java.lang.String)
public java.util.List getDomains()
DomainListManagementMBean
getDomains
in interface DomainListManagementMBean
getDomains
in interface DomainListManagementService
DomainListManagementService.getDomains()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |