public class HashMapDelegatingMailboxListener extends AbstractDelegatingMailboxListener
MailboxListener.Event
and delegate it to an other
MailboxListener
depending on the registered nameMailboxListener.Added, MailboxListener.Event, MailboxListener.Expunged, MailboxListener.FlagsUpdated, MailboxListener.MailboxACLUpdated, MailboxListener.MailboxAdded, MailboxListener.MailboxDeletion, MailboxListener.MailboxRenamed, MailboxListener.MessageEvent
Constructor and Description |
---|
HashMapDelegatingMailboxListener() |
Modifier and Type | Method and Description |
---|---|
protected List<MailboxListener> |
getGlobalListeners()
Return the
List which is used tos tore the global MailboxListener |
protected Map<MailboxPath,List<MailboxListener>> |
getListeners()
Return the
Map which is used to store the MailboxListener |
addGlobalListener, addListener, event, removeGlobalListener, removeListener
protected Map<MailboxPath,List<MailboxListener>> getListeners()
AbstractDelegatingMailboxListener
Map
which is used to store the MailboxListener
getListeners
in class AbstractDelegatingMailboxListener
protected List<MailboxListener> getGlobalListeners()
AbstractDelegatingMailboxListener
List
which is used tos tore the global MailboxListener
getGlobalListeners
in class AbstractDelegatingMailboxListener
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.