org.apache.james.rrt.hbase
Class HBaseRecipientRewriteTable
java.lang.Object
org.apache.james.rrt.lib.AbstractRecipientRewriteTable
org.apache.james.rrt.hbase.HBaseRecipientRewriteTable
- All Implemented Interfaces:
- Configurable, LogEnabled, RecipientRewriteTable
public class HBaseRecipientRewriteTable
- extends AbstractRecipientRewriteTable
Implementation of the RecipientRewriteTable for a HBase persistence.
| Methods inherited from class org.apache.james.rrt.lib.AbstractRecipientRewriteTable |
addAddressMapping, addAliasDomainMapping, addErrorMapping, addMapping, addRegexMapping, configure, doConfigure, getAllMappings, getFixedDomain, getFixedUser, getLogger, getMappings, getMappings, getUserDomainMappings, removeAddressMapping, removeAliasDomainMapping, removeErrorMapping, removeMapping, removeRegexMapping, setDomainList, setLog, setMappingLimit, setRecursiveMapping |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HBaseRecipientRewriteTable
public HBaseRecipientRewriteTable()
addMappingInternal
protected void addMappingInternal(String user,
String domain,
String mapping)
throws RecipientRewriteTableException
- Specified by:
addMappingInternal in class AbstractRecipientRewriteTable
- Throws:
RecipientRewriteTableException- See Also:
AbstractRecipientRewriteTable.addMappingInternal(String, String, String)
getUserDomainMappingsInternal
protected Collection<String> getUserDomainMappingsInternal(String user,
String domain)
throws RecipientRewriteTableException
- Specified by:
getUserDomainMappingsInternal in class AbstractRecipientRewriteTable
- Throws:
RecipientRewriteTableException- See Also:
AbstractRecipientRewriteTable.getUserDomainMappingsInternal(String, String)
getAllMappingsInternal
protected Map<String,Collection<String>> getAllMappingsInternal()
throws RecipientRewriteTableException
- Specified by:
getAllMappingsInternal in class AbstractRecipientRewriteTable
- Throws:
RecipientRewriteTableException- See Also:
AbstractRecipientRewriteTable.getAllMappingsInternal()
mapAddressInternal
protected String mapAddressInternal(String user,
String domain)
throws RecipientRewriteTableException
- Specified by:
mapAddressInternal in class AbstractRecipientRewriteTable
- Throws:
RecipientRewriteTableException- See Also:
AbstractRecipientRewriteTable.mapAddressInternal(String, String)
removeMappingInternal
protected void removeMappingInternal(String user,
String domain,
String mapping)
throws RecipientRewriteTableException
- Specified by:
removeMappingInternal in class AbstractRecipientRewriteTable
- Throws:
RecipientRewriteTableException- See Also:
AbstractRecipientRewriteTable.removeMappingInternal(String, String, String)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.