Nuxeo Enterprise Platform 5.4

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 java.lang.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 java.lang.String EVENT_NAME
           
static java.lang.String INBOX
           
static java.lang.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 java.lang.String EVENT_NAME
See Also:
Constant Field Values

PIPE_NAME

public static final java.lang.String PIPE_NAME
See Also:
Constant Field Values

INBOX

public static final java.lang.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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.