public class DNSRBLHandler extends org.apache.james.protocols.smtp.core.fastfail.DNSRBLHandler implements InitializingLifecycleAwareProtocolHandler
Constructor and Description |
---|
DNSRBLHandler() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
init(org.apache.commons.configuration.Configuration config)
Init with the given
Configuration |
protected boolean |
resolve(String ip) |
protected Collection<String> |
resolveTXTRecords(String ip) |
void |
setDNSService(DNSService dns) |
public void setDNSService(DNSService dns)
public void init(org.apache.commons.configuration.Configuration config) throws org.apache.commons.configuration.ConfigurationException
InitializingLifecycleAwareProtocolHandler
Configuration
init
in interface InitializingLifecycleAwareProtocolHandler
org.apache.commons.configuration.ConfigurationException
public void destroy()
destroy
in interface org.apache.james.protocols.api.handler.LifecycleAwareProtocolHandler
protected boolean resolve(String ip)
resolve
in class org.apache.james.protocols.smtp.core.fastfail.DNSRBLHandler
protected Collection<String> resolveTXTRecords(String ip)
resolveTXTRecords
in class org.apache.james.protocols.smtp.core.fastfail.DNSRBLHandler
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.