|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.rrt.lib.AbstractRecipientRewriteTable
org.apache.james.rrt.jdbc.JDBCRecipientRewriteTable
@Deprecated public class JDBCRecipientRewriteTable
Class responsible to implement the Virtual User Table in database with JDBC access.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.james.rrt.api.RecipientRewriteTable |
|---|
RecipientRewriteTable.ErrorMappingException |
| Field Summary |
|---|
| Fields inherited from interface org.apache.james.rrt.api.RecipientRewriteTable |
|---|
ALIASDOMAIN_PREFIX, ERROR_PREFIX, REGEX_PREFIX, WILDCARD |
| Constructor Summary | |
|---|---|
JDBCRecipientRewriteTable()
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
addMappingInternal(String user,
String domain,
String regex)
Deprecated. |
protected void |
doConfigure(org.apache.commons.configuration.HierarchicalConfiguration conf)
Deprecated. |
protected Map<String,Collection<String>> |
getAllMappingsInternal()
Deprecated. |
protected Collection<String> |
getUserDomainMappingsInternal(String user,
String domain)
Deprecated. |
void |
init()
Deprecated. |
protected String |
mapAddressInternal(String user,
String domain)
Deprecated. |
protected void |
removeMappingInternal(String user,
String domain,
String mapping)
Deprecated. |
void |
setDataSource(DataSource dataSource)
Deprecated. |
void |
setFileSystem(FileSystem fileSystem)
Deprecated. |
| Methods inherited from class org.apache.james.rrt.lib.AbstractRecipientRewriteTable |
|---|
addAddressMapping, addAliasDomainMapping, addErrorMapping, addMapping, addRegexMapping, configure, 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 |
| Constructor Detail |
|---|
public JDBCRecipientRewriteTable()
| Method Detail |
|---|
@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
doConfigure in class AbstractRecipientRewriteTableorg.apache.commons.configuration.ConfigurationException
protected void addMappingInternal(String user,
String domain,
String regex)
throws RecipientRewriteTableException
addMappingInternal in class AbstractRecipientRewriteTableRecipientRewriteTableExceptionAbstractRecipientRewriteTable.addMappingInternal(String,
String, String)
protected String mapAddressInternal(String user,
String domain)
throws RecipientRewriteTableException
mapAddressInternal in class AbstractRecipientRewriteTableRecipientRewriteTableExceptionAbstractRecipientRewriteTable.mapAddressInternal(java.lang.String,
java.lang.String)
protected Collection<String> getUserDomainMappingsInternal(String user,
String domain)
throws RecipientRewriteTableException
getUserDomainMappingsInternal in class AbstractRecipientRewriteTableRecipientRewriteTableExceptionAbstractRecipientRewriteTable.mapAddress(java.lang.String,
java.lang.String)
protected Map<String,Collection<String>> getAllMappingsInternal()
throws RecipientRewriteTableException
getAllMappingsInternal in class AbstractRecipientRewriteTableRecipientRewriteTableExceptionAbstractRecipientRewriteTable.getAllMappingsInternal()
protected void removeMappingInternal(String user,
String domain,
String mapping)
throws RecipientRewriteTableException
removeMappingInternal in class AbstractRecipientRewriteTableRecipientRewriteTableExceptionAbstractRecipientRewriteTable.removeMappingInternal(String,
String, String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||