org.apache.james.transport.mailets
Class LocalDelivery

java.lang.Object
  |
  +--org.apache.mailet.GenericMailet
        |
        +--org.apache.james.transport.mailets.LocalDelivery
All Implemented Interfaces:
Mailet, MailetConfig

public class LocalDelivery
extends GenericMailet

Receives a Mail from JamesSpoolManager and takes care of delivery of the message to local inboxes.

Author:
Federico Barbieri , Serge Knystautas

Constructor Summary
LocalDelivery()
           
 
Method Summary
 String getMailetInfo()
          Return a string describing this mailet.
 void service(Mail mail)
          Delivers a mail to a local mailbox.
 
Methods inherited from class org.apache.mailet.GenericMailet
destroy, getInitParameter, getInitParameterNames, getMailetConfig, getMailetContext, getMailetName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalDelivery

public LocalDelivery()
Method Detail

service

public void service(Mail mail)
             throws MessagingException
Delivers a mail to a local mailbox.

Specified by:
service in interface Mailet
Specified by:
service in class GenericMailet
Parameters:
mail - the mail being processed
Throws:
MessagingException - if an error occurs while storing the mail

getMailetInfo

public String getMailetInfo()
Return a string describing this mailet.

Specified by:
getMailetInfo in interface Mailet
Overrides:
getMailetInfo in class GenericMailet
Returns:
a string describing this mailet


"Copyright © 1999-2002 Apache Jakarta Project. All Rights Reserved."