Package com.jalios.jcms.mail.listener
Class ThreadMailListener
- java.lang.Object
-
- com.jalios.jcms.mail.AbstractMailListener
-
- com.jalios.jcms.mail.listener.ThreadMailListener
-
- All Implemented Interfaces:
MailListener
,java.lang.Comparable
public class ThreadMailListener extends AbstractMailListener
- Version:
- $Revision: 107554 $
- Author:
- Jean-Philippe Encausse
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.regex.Pattern
pattern
static java.lang.String
REVISION
-
Fields inherited from class com.jalios.jcms.mail.AbstractMailListener
order
-
-
Constructor Summary
Constructors Constructor Description ThreadMailListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
fetchMessage(MailMessage mail, boolean stored, java.util.Map<java.lang.String,java.lang.Object> context)
Invoked after a mail was fetch.-
Methods inherited from class com.jalios.jcms.mail.AbstractMailListener
compareTo, equals, getOrder, setOrder
-
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
pattern
protected java.util.regex.Pattern pattern
-
-
Method Detail
-
fetchMessage
public boolean fetchMessage(MailMessage mail, boolean stored, java.util.Map<java.lang.String,java.lang.Object> context)
Description copied from interface:MailListener
Invoked after a mail was fetch.- Specified by:
fetchMessage
in interfaceMailListener
- Overrides:
fetchMessage
in classAbstractMailListener
- Parameters:
mail
- the javax.mail.Message fetchedstored
- boolean to store MailMessage in JCMScontext
- a context used to store information- Returns:
- boolean stored
- See Also:
MailListener.fetchMessage(MailMessage, boolean, Map)
-
-