public interface EventBus<E extends Event<?>,O extends Observer<E>,EM extends EventMatcher<E>,H> extends EventBusPublisher<E>, EventBusObservable<E,O,EM,H>
EventBusis the (virtual) machine wide manager for
TIPP: In order to distinguish
MetaDataEventImpl instances from each
other, create an actions enumeration, enumerating the various event actions
you support. Pass the actual action you intend to notify upon to the
according constructor, as an
Observer you may use the declarative
EventMatcherByDeclaration.actionEqualWith(Object) to test
whether your action was notified (or a simple switch case statement).
Copyright © 2015. All rights reserved.