org.apache.james.domainlist.lib
Class DomainListManagement

java.lang.Object
  extended by javax.management.StandardMBean
      extended by org.apache.james.domainlist.lib.DomainListManagement
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, DomainListManagementMBean

public class DomainListManagement
extends StandardMBean
implements DomainListManagementMBean


Constructor Summary
DomainListManagement()
           
 
Method Summary
 void addDomain(String domain)
           
 boolean containsDomain(String domain)
           
 String getDefaultDomain()
           
 String[] getDomains()
           
 void removeDomain(String domain)
           
 void setDomainList(DomainList domainList)
           
 
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
 

Constructor Detail

DomainListManagement

public DomainListManagement()
                     throws NotCompliantMBeanException
Throws:
NotCompliantMBeanException
Method Detail

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.