org.apache.axis2.transport.mail.server
Class MailSorter

java.lang.Object
  extended byorg.apache.axis2.transport.mail.server.MailSorter

public class MailSorter
extends java.lang.Object

This class will be used to sort the messages into normal messages and mails being sent to the Axis engine. If a mail is to be sent to the engine then a new Axis engine is created using the configuration in the MailServer class and the receive method is called.


Field Summary
protected static Log log
           
 
Constructor Summary
MailSorter(Storage st, ConfigurationContext configurationContext)
           
 
Method Summary
 void processMail(ConfigurationContext confContext, MimeMessage mimeMessage)
           
 void sort(java.lang.String user, MimeMessage msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Log log
Constructor Detail

MailSorter

public MailSorter(Storage st,
                  ConfigurationContext configurationContext)
Method Detail

sort

public void sort(java.lang.String user,
                 MimeMessage msg)

processMail

public void processMail(ConfigurationContext confContext,
                        MimeMessage mimeMessage)