Class MailEventListener
java.lang.Object
org.nuxeo.ecm.platform.mail.listener.MailEventListener
- All Implemented Interfaces:
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doHandleEvent
(Event event) void
handleEvent
(Event event) Handle the given event.
-
Field Details
-
EVENT_NAME
- See Also:
-
PIPE_NAME
- See Also:
-
INBOX
- See Also:
-
lock
-
-
Constructor Details
-
MailEventListener
public MailEventListener()
-
-
Method Details
-
handleEvent
Description copied from interface:EventListener
Handle the given event. The listener can cancel the event by callingEvent.cancel()
- Specified by:
handleEvent
in interfaceEventListener
- Parameters:
event
- the event
-
doHandleEvent
-