org.apache.james.transport.remotedeliverytester
Interface RemoteDeliveryTestable

All Known Implementing Classes:
StandardRemoteDeliveryTestable

public interface RemoteDeliveryTestable

Interface for a RemoteDelivery mailet to be tested by the Tester tool.

Each RemoteDelivery to be tested should be estended throuth this and it should take the session from Tester.obtainSession(Properties)


Method Summary
 void destroy()
           
 void init()
           
 void init(org.apache.mailet.MailetConfig newConfig)
           
 void service(org.apache.mailet.Mail mail)
           
 void setDNSServer(org.apache.james.api.dnsservice.DNSService dnsServer)
           
 void setRemoteDeliveryTester(Tester tester)
           
 

Method Detail

setRemoteDeliveryTester

void setRemoteDeliveryTester(Tester tester)

setDNSServer

void setDNSServer(org.apache.james.api.dnsservice.DNSService dnsServer)

init

void init()
          throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

init

void init(org.apache.mailet.MailetConfig newConfig)
          throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

service

void service(org.apache.mailet.Mail mail)
             throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

destroy

void destroy()


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.