fulmine.event.listener
Class PriorityMultiEventListener
java.lang.Object
fulmine.AbstractLifeCycle
fulmine.event.listener.MultiEventListener
fulmine.event.listener.PriorityMultiEventListener
- All Implemented Interfaces:
- IEventListener, ILifeCycleEventListener, IPriorityLifeCycleEventListener, IDestroyable, ILifeCycle
public class PriorityMultiEventListener
- extends MultiEventListener
- implements IPriorityLifeCycleEventListener
A MultiEventListener
refinement that is marked as a priority
listener. This means that it will be added to the head of any list of
IEventListener
objects when added as a listener to an
IEventSource
.
- Author:
- Ramon Servadei
Method Summary |
protected AsyncLog |
getLog()
Get the log to use for the object hierarchy |
PriorityMultiEventListener
public PriorityMultiEventListener(String name,
IEventManager context,
Map<Class<? extends IEvent>,IEventListener> listeners)
- Standard constructor
- Parameters:
name
- the name for thiscontext
- the event context to uselisteners
- maps the IEvent
type to the IEventListener
object that will process events of that type
getLog
protected AsyncLog getLog()
- Description copied from class:
AbstractLifeCycle
- Get the log to use for the object hierarchy
- Overrides:
getLog
in class MultiEventListener
- Returns:
- the log to use for the object hierarchy
Copyright © 2007-2009. All Rights Reserved.