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.


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

Constructor Detail

MailSorter

public MailSorter(Storage st,
                  ConfigurationContext configurationContext)
Method Detail

processMail

public void processMail(ConfigurationContext confContext,
                        javax.mail.internet.MimeMessage mimeMessage)

sort

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


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.