org.apache.james.dnsserver
Class DNSServer

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.james.dnsserver.DNSServer
All Implemented Interfaces:
org.apache.avalon.phoenix.Block, org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, DNSServer, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.Loggable

public class DNSServer
extends org.apache.avalon.framework.logger.AbstractLoggable
implements org.apache.avalon.phoenix.Block, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Initializable, DNSServer

Version:
1.0.0, 18/06/2000
Author:
Serge Knystautas

Fields inherited from interface org.apache.james.services.DNSServer
ROLE
 
Constructor Summary
DNSServer()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 java.util.Collection findMXRecords(java.lang.String hostname)
           
 void initialize()
           
 org.xbill.DNS.Record[] lookup(java.lang.String name, short type)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DNSServer

public DNSServer()
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable

initialize

public void initialize()
                throws java.lang.Exception
Specified by:
initialize in interface org.apache.avalon.framework.activity.Initializable

findMXRecords

public java.util.Collection findMXRecords(java.lang.String hostname)
Specified by:
findMXRecords in interface DNSServer
Following copied from interface: org.apache.james.services.DNSServer
Returns:
collection of strings representing MX record values. The returned collection is sorted by priority.

lookup

public org.xbill.DNS.Record[] lookup(java.lang.String name,
                                     short type)


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.