org.apache.james.smtpserver
Class SendMailHandler

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.james.smtpserver.SendMailHandler
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, MessageHandler

public class SendMailHandler
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements MessageHandler, org.apache.avalon.framework.service.Serviceable

Adds the header to the message


Constructor Summary
SendMailHandler()
           
 
Method Summary
 void onMessage(SMTPSession session)
          Adds header to the message
 void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendMailHandler

public SendMailHandler()
Method Detail

service

public void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException
See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)

onMessage

public void onMessage(SMTPSession session)
Adds header to the message

Specified by:
onMessage in interface MessageHandler
See Also:
org.apache.james.smtpserver


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.