Abstract Event Subscriber
public abstract class AbstractEventSubscriber implements EventDispatcher, EventSubscriber, ContextAware
The abstract base for objects that can be subscribed to receive events from EventBus.
Objects may also receive events via EventDispatchers that can be registered with EventBus
.
See also
io. spine. core. Subscribe
Inheritors
Functions
Link copied to clipboard
Checks if this dispatcher can dispatch the given message.
Link copied to clipboard
Dispatches the event to the handling method.
Link copied to clipboard
Obtains classes of domestic events processed by this dispatcher.
Link copied to clipboard
Obtains classes of external events processed by this dispatcher.
Link copied to clipboard
Handles an event dispatched to this subscriber instance.
Link copied to clipboard
Determines if this instance is already registered with a Bounded Context.
Link copied to clipboard
Obtains a set of message classes that can be processed by this dispatcher.
Link copied to clipboard
Registers this instance as a part of the given Bounded Context.
Inherited functions
Link copied to clipboard
Verifies that this instance is NOT registered yet.
Link copied to clipboard
Verifies that this instance is already registered.
Link copied to clipboard
Verifies if this instance dispatches at least one event.
Link copied to clipboard
Verifies if this instance dispatches at least one external event.
Link copied to clipboard
Obtains classes of all events processed by this dispatcher.