|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.james.domainlist.lib.AbstractDomainList
org.apache.james.domainlist.jdbc.JDBCDomainList
@Deprecated public class JDBCDomainList
Allow to query a custom table for domains
| Field Summary | |
|---|---|
protected java.lang.String |
datasourceName
Deprecated. |
protected SqlResources |
sqlQueries
Deprecated. Contains all of the sql strings for this component. |
| Constructor Summary | |
|---|---|
JDBCDomainList()
Deprecated. |
|
| Method Summary | |
|---|---|
protected boolean |
addDomainInternal(java.lang.String domain)
Deprecated. |
protected void |
configure()
Deprecated. |
void |
configure(org.apache.commons.configuration.HierarchicalConfiguration configuration)
Deprecated. |
boolean |
containsDomain(java.lang.String domain)
Deprecated. |
protected java.util.List<java.lang.String> |
getDomainListInternal()
Deprecated. |
void |
init()
Deprecated. |
protected boolean |
removeDomainInternal(java.lang.String domain)
Deprecated. |
void |
setDataSource(javax.sql.DataSource dataSource)
Deprecated. |
void |
setFileSystem(FileSystem fileSystem)
Deprecated. |
| Methods inherited from class org.apache.james.domainlist.lib.AbstractDomainList |
|---|
addDomain, getDNSServer, getDomains, getLogger, removeDomain, setAutoDetect, setAutoDetectIP, setDNSService, setLog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SqlResources sqlQueries
protected java.lang.String datasourceName
| Constructor Detail |
|---|
public JDBCDomainList()
| Method Detail |
|---|
public void configure(org.apache.commons.configuration.HierarchicalConfiguration configuration)
throws org.apache.commons.configuration.ConfigurationException
configure in interface Configurableorg.apache.commons.configuration.ConfigurationExceptionpublic void setDataSource(javax.sql.DataSource dataSource)
public void setFileSystem(FileSystem fileSystem)
protected void configure()
throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
@PostConstruct
public void init()
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<java.lang.String> getDomainListInternal()
getDomainListInternal in class AbstractDomainListAbstractDomainList.getDomainListInternal()public boolean containsDomain(java.lang.String domain)
containsDomain in interface DomainListDomainList.containsDomain(java.lang.String)protected boolean addDomainInternal(java.lang.String domain)
addDomainInternal in class AbstractDomainListAbstractDomainList.addDomainInternal(java.lang.String)protected boolean removeDomainInternal(java.lang.String domain)
removeDomainInternal in class AbstractDomainListAbstractDomainList.removeDomainInternal(java.lang.String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||