Package io.jmix.imap.sync.events
Class ImapEvents
java.lang.Object
io.jmix.imap.sync.events.ImapEvents
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected SystemAuthenticator
protected org.springframework.context.ApplicationEventPublisher
protected ImapDataProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
filterEvents
(ImapFolder folder, Collection<? extends BaseImapEvent> imapEvents) protected void
fireEvents
(ImapFolder folder, Collection<? extends BaseImapEvent> imapEvents) protected ImapEventsGenerator
getEventsGenerator
(ImapMailBox mailBox) protected ImapEventsGenerator
void
handleChangedMessages
(ImapFolder folder) void
handleMissedMessages
(ImapFolder folder) void
handleNewMessages
(ImapFolder folder) void
init
(ImapMailBox mailBox) protected void
invokeAttachedHandlers
(BaseImapEvent event, ImapFolder folder, List<ImapEventHandler> handlers) void
shutdown
(ImapMailBox mailBox)
-
Field Details
-
events
@Autowired protected org.springframework.context.ApplicationEventPublisher events -
authentication
-
imapDataProvider
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
ImapEvents
public ImapEvents()
-
-
Method Details
-
init
-
shutdown
-
handleNewMessages
-
handleChangedMessages
-
handleMissedMessages
-
getEventsGenerator
-
getStandardEventsGenerator
-
fireEvents
-
filterEvents
-
invokeAttachedHandlers
protected void invokeAttachedHandlers(BaseImapEvent event, ImapFolder folder, List<ImapEventHandler> handlers)
-