@Deprecated public class JDBCRecipientRewriteTable extends AbstractRecipientRewriteTable
RecipientRewriteTable.ErrorMappingExceptionALIASDOMAIN_PREFIX, ERROR_PREFIX, REGEX_PREFIX, WILDCARD| Constructor and Description | 
|---|
| JDBCRecipientRewriteTable()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addMappingInternal(String user,
                  String domain,
                  String regex)Deprecated.  Add new mapping | 
| protected void | doConfigure(org.apache.commons.configuration.HierarchicalConfiguration conf)Deprecated.  Override to handle config | 
| protected Map<String,Collection<String>> | getAllMappingsInternal()Deprecated.  Return a Map which holds all Mappings | 
| protected Collection<String> | getUserDomainMappingsInternal(String user,
                             String domain)Deprecated.  Return Collection of all mappings for the given username and domain | 
| void | init()Deprecated.  | 
| protected String | mapAddressInternal(String user,
                  String domain)Deprecated.  Override to map virtual recipients to real recipients, both local and
 non-local. | 
| protected void | removeMappingInternal(String user,
                     String domain,
                     String mapping)Deprecated.  Remove mapping | 
| void | setDataSource(DataSource dataSource)Deprecated.  | 
| void | setFileSystem(FileSystem fileSystem)Deprecated.  | 
addAddressMapping, addAliasDomainMapping, addErrorMapping, addMapping, addRegexMapping, configure, getAllMappings, getFixedDomain, getFixedUser, getLogger, getMappings, getMappings, getUserDomainMappings, removeAddressMapping, removeAliasDomainMapping, removeErrorMapping, removeMapping, removeRegexMapping, setDomainList, setLog, setMappingLimit, setRecursiveMapping@PostConstruct public void init() throws Exception
Exceptionpublic void setFileSystem(FileSystem fileSystem)
public void setDataSource(DataSource dataSource)
protected void doConfigure(org.apache.commons.configuration.HierarchicalConfiguration conf)
                    throws org.apache.commons.configuration.ConfigurationException
AbstractRecipientRewriteTabledoConfigure in class AbstractRecipientRewriteTableorg.apache.commons.configuration.ConfigurationExceptionprotected void addMappingInternal(String user, String domain, String regex) throws RecipientRewriteTableException
AbstractRecipientRewriteTableaddMappingInternal in class AbstractRecipientRewriteTableuser - the userdomain - the domainregex - the mappingRecipientRewriteTableExceptionAbstractRecipientRewriteTable.addMappingInternal(String,
      String, String)protected String mapAddressInternal(String user, String domain) throws RecipientRewriteTableException
AbstractRecipientRewriteTableMailAddress object.
 
 Translate virtual recipients to real recipients by mapping a string
 containing the address of the real recipient as a value to a key. Leave
 the value null
 if no mapping should be performed. Multiple recipients may be specified by delineating
 the mapped string with commas, semi-colons or colons.mapAddressInternal in class AbstractRecipientRewriteTableuser - the mapping of virtual to real recipients, as
            MailAddresses to Strings.RecipientRewriteTableExceptionAbstractRecipientRewriteTable.mapAddressInternal(java.lang.String,
      java.lang.String)protected Collection<String> getUserDomainMappingsInternal(String user, String domain) throws RecipientRewriteTableException
AbstractRecipientRewriteTablegetUserDomainMappingsInternal in class AbstractRecipientRewriteTableuser - the userdomain - the domainRecipientRewriteTableExceptionAbstractRecipientRewriteTable.mapAddress(java.lang.String,
      java.lang.String)protected Map<String,Collection<String>> getAllMappingsInternal() throws RecipientRewriteTableException
AbstractRecipientRewriteTablegetAllMappingsInternal in class AbstractRecipientRewriteTableRecipientRewriteTableExceptionAbstractRecipientRewriteTable.getAllMappingsInternal()protected void removeMappingInternal(String user, String domain, String mapping) throws RecipientRewriteTableException
AbstractRecipientRewriteTableremoveMappingInternal in class AbstractRecipientRewriteTableuser - the userdomain - the domainmapping - the mappingRecipientRewriteTableExceptionAbstractRecipientRewriteTable.removeMappingInternal(String,
      String, String)Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.