com.fatwire.cs.core.event
Interface Listener<E extends Event>
- All Known Subinterfaces:
- AssetEventListener, PublishingEventListener
- All Known Implementing Classes:
- AbstractAssetEventListener
public interface Listener<E extends Event>
This interface abstracts an action that will be invoked upon
notification of an event. Listener implementations are registered in a ListenerRegistry
and discovered at run time by EventDispatchers.
For details of registration, please see ListenerRegistry.
Method Summary |
void |
onEvent(E e)
Handler invoked upon arrival of an Event dispatch. |
onEvent
void onEvent(E e)
throws EventException
- Handler invoked upon arrival of an Event dispatch.
- Parameters:
e
-
- Throws:
EventException
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.