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:
javax.management.DynamicMBean, javax.management.MBeanRegistration, DomainList, DomainListManagementMBean

public class DomainListManagement
extends javax.management.StandardMBean
implements DomainListManagementMBean


Constructor Summary
DomainListManagement()
           
 
Method Summary
 boolean addDomain(java.lang.String domain)
           
 boolean containsDomain(java.lang.String domain)
           
 java.lang.String[] getDomains()
           
 boolean removeDomain(java.lang.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 javax.management.NotCompliantMBeanException
Throws:
javax.management.NotCompliantMBeanException
Method Detail

setDomainList

public void setDomainList(DomainList domainList)

addDomain

public boolean addDomain(java.lang.String domain)
Specified by:
addDomain in interface DomainList

containsDomain

public boolean containsDomain(java.lang.String domain)
Specified by:
containsDomain in interface DomainList

getDomains

public java.lang.String[] getDomains()
Specified by:
getDomains in interface DomainList

removeDomain

public boolean removeDomain(java.lang.String domain)
Specified by:
removeDomain in interface DomainList


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.