org.apache.james.samples.mailets
Class HelloWorldMailet

java.lang.Object
  extended by org.apache.james.samples.mailets.HelloWorldMailet
All Implemented Interfaces:
org.apache.mailet.Mailet

public class HelloWorldMailet
extends java.lang.Object
implements org.apache.mailet.Mailet

Simply logs a message.


Constructor Summary
HelloWorldMailet()
           
 
Method Summary
 void destroy()
           
 org.apache.mailet.MailetConfig getMailetConfig()
           
 java.lang.String getMailetInfo()
           
 void init(org.apache.mailet.MailetConfig config)
           
 void service(org.apache.mailet.Mail mail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloWorldMailet

public HelloWorldMailet()
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface org.apache.mailet.Mailet

getMailetInfo

public java.lang.String getMailetInfo()
Specified by:
getMailetInfo in interface org.apache.mailet.Mailet

getMailetConfig

public org.apache.mailet.MailetConfig getMailetConfig()
Specified by:
getMailetConfig in interface org.apache.mailet.Mailet

init

public void init(org.apache.mailet.MailetConfig config)
          throws javax.mail.MessagingException
Specified by:
init in interface org.apache.mailet.Mailet
Throws:
javax.mail.MessagingException

service

public void service(org.apache.mailet.Mail mail)
             throws javax.mail.MessagingException
Specified by:
service in interface org.apache.mailet.Mailet
Throws:
javax.mail.MessagingException


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