org.apache.james.domainlist.lib
Class JamesDomainList
java.lang.Object
org.apache.james.domainlist.lib.JamesDomainList
- All Implemented Interfaces:
- DomainList, Configurable, LogEnabled
public class JamesDomainList
- extends java.lang.Object
- implements DomainList, LogEnabled, Configurable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JamesDomainList
public JamesDomainList()
setInstanceFactory
public void setInstanceFactory(InstanceFactory instanceFactory)
init
@PostConstruct
public void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
destroy
@PreDestroy
public void destroy()
addDomain
public boolean addDomain(java.lang.String domain)
- Specified by:
addDomain in interface DomainList
removeDomain
public boolean removeDomain(java.lang.String domain)
- Specified by:
removeDomain in interface DomainList
containsDomain
public boolean containsDomain(java.lang.String domain)
- Specified by:
containsDomain in interface DomainList
getDomains
public java.lang.String[] getDomains()
- Specified by:
getDomains in interface DomainList
setLog
public void setLog(org.apache.commons.logging.Log log)
- Specified by:
setLog in interface LogEnabled
configure
public void configure(org.apache.commons.configuration.HierarchicalConfiguration config)
throws org.apache.commons.configuration.ConfigurationException
- Specified by:
configure in interface Configurable
- Throws:
org.apache.commons.configuration.ConfigurationException
Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.