org.apache.james.domainlist.lib
Class DomainListManagement
java.lang.Object
javax.management.StandardMBean
org.apache.james.domainlist.lib.DomainListManagement
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration, DomainListManagementMBean
public class DomainListManagement
- extends StandardMBean
- implements DomainListManagementMBean
| Methods inherited from class javax.management.StandardMBean |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainListManagement
public DomainListManagement()
throws NotCompliantMBeanException
- Throws:
NotCompliantMBeanException
setDomainList
public void setDomainList(DomainList domainList)
addDomain
public void addDomain(String domain)
throws Exception
- Specified by:
addDomain in interface DomainListManagementMBean
- Throws:
Exception
containsDomain
public boolean containsDomain(String domain)
throws Exception
- Specified by:
containsDomain in interface DomainListManagementMBean
- Throws:
Exception
getDomains
public String[] getDomains()
throws Exception
- Specified by:
getDomains in interface DomainListManagementMBean
- Throws:
Exception
removeDomain
public void removeDomain(String domain)
throws Exception
- Specified by:
removeDomain in interface DomainListManagementMBean
- Throws:
Exception
getDefaultDomain
public String getDefaultDomain()
throws Exception
- Specified by:
getDefaultDomain in interface DomainListManagementMBean
- Throws:
Exception
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.