com.jalios.jcms.mail
Interface MailListener

All Superinterfaces:
Comparable
All Known Subinterfaces:
MailPolicyFilter
All Known Implementing Classes:
AbstractDataMailPolicyFilter, AbstractMailListener, ArchiveMailListener, AttachementsMailListener, BasicMailPolicyFilter, MemberMailListener, ThreadMailListener

public interface MailListener
extends Comparable

Version:
$Revision: 24128 $
Author:
Jean-Philippe Encausse

Field Summary
static String REVISION
           
 
Method Summary
 boolean fetchMessage(MailMessage mail, boolean stored, Map<String,Object> ctxt)
          Invoked after a mail was fetch.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

REVISION

static final String REVISION
See Also:
Constant Field Values
Method Detail

fetchMessage

boolean fetchMessage(MailMessage mail,
                     boolean stored,
                     Map<String,Object> ctxt)
Invoked after a mail was fetch.

Parameters:
mail - the javax.mail.Message fetched
stored - boolean to store MailMessage in JCMS
ctxt - a context used to store information
Returns:
boolean stored


Copyright © 2001-2010 Jalios SA. All Rights Reserved.