Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.mail.listener
Class MailEventListener

java.lang.Object
  extended by org.nuxeo.ecm.platform.mail.listener.MailEventListener
All Implemented Interfaces:
EventListener

public class MailEventListener
extends Object
implements EventListener

Listener that listens for MailReceivedEvent.

The email connection corresponding to every MailFolder document found in the repository is checked for new incoming email.

Author:
Catalin Baican

Field Summary
static String EVENT_NAME
           
static String INBOX
           
static String PIPE_NAME
           
 
Constructor Summary
MailEventListener()
           
 
Method Summary
 void handleEvent(Event event)
          Handle the given event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_NAME

public static final String EVENT_NAME
See Also:
Constant Field Values

PIPE_NAME

public static final String PIPE_NAME
See Also:
Constant Field Values

INBOX

public static final String INBOX
See Also:
Constant Field Values
Constructor Detail

MailEventListener

public MailEventListener()
Method Detail

handleEvent

public void handleEvent(Event event)
Description copied from interface: EventListener
Handle the given event. The listener can cancel the event by calling Event.cancel()

Specified by:
handleEvent in interface EventListener
Parameters:
event - the event

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.