org.apache.james.domainlist.hbase
Class HBaseDomainList

java.lang.Object
  extended by org.apache.james.domainlist.lib.AbstractDomainList
      extended by org.apache.james.domainlist.hbase.HBaseDomainList
All Implemented Interfaces:
DomainList, Configurable, LogEnabled

public class HBaseDomainList
extends AbstractDomainList

Implementation of the DomainList for a HBase persistence.


Constructor Summary
HBaseDomainList()
           
 
Method Summary
 void addDomain(String domain)
           
 boolean containsDomain(String domain)
           
protected  List<String> getDomainListInternal()
           
 void removeDomain(String domain)
           
 
Methods inherited from class org.apache.james.domainlist.lib.AbstractDomainList
configure, getDefaultDomain, getDNSServer, getDomains, getLogger, setAutoDetect, setAutoDetectIP, setDNSService, setLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HBaseDomainList

public HBaseDomainList()
Method Detail

containsDomain

public boolean containsDomain(String domain)
                       throws DomainListException
Throws:
DomainListException
See Also:
DomainList.containsDomain(String)

addDomain

public void addDomain(String domain)
               throws DomainListException
Throws:
DomainListException
See Also:
DomainList.addDomain(String)

removeDomain

public void removeDomain(String domain)
                  throws DomainListException
Throws:
DomainListException

getDomainListInternal

protected List<String> getDomainListInternal()
                                      throws DomainListException
Specified by:
getDomainListInternal in class AbstractDomainList
Throws:
DomainListException
See Also:
AbstractDomainList.getDomainListInternal()


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