- All Implemented Interfaces:
- Locatable, LocationHolder, EventLinker
public class EventLinkerImpl
- extends BaseLocatable
- implements EventLinker
EventLinker. Will output warnings whenever
a consumer can't be registered for at least one event set (which can happen when the consumer
does not implement the necessary interfaces).
- Howard Lewis Ship
Adds the consumer as a listener of events published by the producer.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public EventLinkerImpl(ErrorLog errorLog)
public void addEventListener(java.lang.Object producer,
- Description copied from interface:
- Adds the consumer as a listener of events published by the producer. Typically, the producer
is a service, and the consumer is some other service's core implementation.
- Specified by:
addEventListener in interface
producer - the object which will be publishing the events.
eventSetName - the name of an event set; the consumer will only be registered for that set of
consumer - the object which will be added as a listener.
location - used when reporting errors, may be null