A B C D E G H I L O P R S U V
A
- AbstractEventBus<E extends org.refcodes.observer.GenericEvent<?>,O extends org.refcodes.observer.Observer<E>,MATCH extends org.refcodes.observer.EventMatcher<E>,META extends org.refcodes.mixin.EventMetaData,H> - Class in org.refcodes.eventbus
-
The Class AbstractEventBus.
- AbstractEventBus(int, HandleGenerator<H>) - Constructor for class org.refcodes.eventbus.AbstractEventBus
-
Constructs the
AbstractEventBus
with theDispatchStrategy
beingDispatchStrategy.CASCADE
when publishing events and the given handle generator. - AbstractEventBus(HandleGenerator<H>) - Constructor for class org.refcodes.eventbus.AbstractEventBus
-
Constructs the
AbstractEventBus
with theDispatchStrategy
beingDispatchStrategy.CASCADE
when publishing events and the given handle generator. - AbstractEventBus(HandleGenerator<H>, ExecutorService) - Constructor for class org.refcodes.eventbus.AbstractEventBus
-
Constructs the
AbstractEventBus
with theDispatchStrategy
beingDispatchStrategy.CASCADE
when publishing events and the given handle generator. - AbstractEventBus(DispatchStrategy, int, HandleGenerator<H>) - Constructor for class org.refcodes.eventbus.AbstractEventBus
-
Constructs the
AbstractEventBus
with the givenDispatchStrategy
when publishing events and the given handle generator. - AbstractEventBus(DispatchStrategy, HandleGenerator<H>) - Constructor for class org.refcodes.eventbus.AbstractEventBus
-
Constructs the
AbstractEventBus
with the givenDispatchStrategy
when publishing events and the given handle generator. - AbstractEventBus(DispatchStrategy, HandleGenerator<H>, ExecutorService) - Constructor for class org.refcodes.eventbus.AbstractEventBus
-
Constructs the
AbstractEventBus
with the givenDispatchStrategy
when publishing events and the given handle generator. - actionEqualWith(A) - Static method in class org.refcodes.eventbus.BusMatcherSugar
-
Factory method to create an "EQUAL WITH" matcher for the given action compared with the action stored in the
EventMetaData
. - aliasEqualWith(String) - Static method in class org.refcodes.eventbus.BusMatcherSugar
-
Factory method to create an "EQUAL WITH" matcher for the given name compared with the name stored in the
EventMetaData
. - and(BusMatcher...) - Static method in class org.refcodes.eventbus.BusMatcherSugar
-
Factory method to create an "AND" matcher for the given matchers.
- ASYNC - org.refcodes.eventbus.DispatchStrategy
-
Same as the
DispatchStrategy.SEQUENTIAL
approach with the difference that the sequential dispatch process is done asynchronously, freeing your parent's thread immediately after publishing your parent event.
B
- BusEvent - Interface in org.refcodes.eventbus
- BusEvent.BusEventBuilder - Interface in org.refcodes.eventbus
-
Intuitive Meta-Interface for the
BusEvent.BusEventBuilder
as used by theEventBus
. - BusEventBuilderImpl - Class in org.refcodes.eventbus
-
Intuitive Meta-Class for the
ActionMetaDataEventBuilderImpl
as used by theEventBus
. - BusEventBuilderImpl(Class<?>, EventBus) - Constructor for class org.refcodes.eventbus.BusEventBuilderImpl
-
Constructs an event with predefined values for the according properties retrieved from the caller's class.
- BusEventBuilderImpl(Enum<?>, Class<?>, EventBus) - Constructor for class org.refcodes.eventbus.BusEventBuilderImpl
-
Constructs an event with predefined values for the according properties retrieved from the caller's class.
- BusEventBuilderImpl(Enum<?>, String, String, String, String, Class<?>, EventBus) - Constructor for class org.refcodes.eventbus.BusEventBuilderImpl
-
Constructs an event with the given values for the according properties.
- BusEventBuilderImpl(Enum<?>, String, EventBus) - Constructor for class org.refcodes.eventbus.BusEventBuilderImpl
-
Constructs an event with predefined values for the according properties retrieved from the caller's class.
- BusEventBuilderImpl(Enum<?>, EventBus) - Constructor for class org.refcodes.eventbus.BusEventBuilderImpl
-
Constructs an event with the given Meta-Data.
- BusEventBuilderImpl(Enum<?>, EventMetaData, EventBus) - Constructor for class org.refcodes.eventbus.BusEventBuilderImpl
-
Constructs an event with the given Meta-Data.
- BusEventBuilderImpl(String, String, String, String, Class<?>, EventBus) - Constructor for class org.refcodes.eventbus.BusEventBuilderImpl
-
Constructs an event with the given values for the according properties.
- BusEventBuilderImpl(String, EventBus) - Constructor for class org.refcodes.eventbus.BusEventBuilderImpl
-
Constructs an event with predefined values for the according properties retrieved from the caller's class.
- BusEventBuilderImpl(EventBus) - Constructor for class org.refcodes.eventbus.BusEventBuilderImpl
-
Constructs an event with the given Meta-Data.
- BusEventBuilderImpl(EventMetaData, EventBus) - Constructor for class org.refcodes.eventbus.BusEventBuilderImpl
-
Constructs an event with the given Meta-Data.
- BusEventImpl - Class in org.refcodes.eventbus
-
Intuitive Meta-Class for the
ActionMetaDataEventImpl
as used by theEventBus
. - BusEventImpl(Class<?>, EventBus) - Constructor for class org.refcodes.eventbus.BusEventImpl
-
Constructs an event with predefined values for the according properties retrieved from the caller's class.
- BusEventImpl(Enum<?>, Class<?>, EventBus) - Constructor for class org.refcodes.eventbus.BusEventImpl
-
Constructs an event with predefined values for the according properties retrieved from the caller's class.
- BusEventImpl(Enum<?>, String, String, String, String, Class<?>, EventBus) - Constructor for class org.refcodes.eventbus.BusEventImpl
-
Constructs an event with the given values for the according properties.
- BusEventImpl(Enum<?>, String, EventBus) - Constructor for class org.refcodes.eventbus.BusEventImpl
-
Constructs an event with predefined values for the according properties retrieved from the caller's class.
- BusEventImpl(Enum<?>, EventBus) - Constructor for class org.refcodes.eventbus.BusEventImpl
-
Constructs an event with the given Meta-Data.
- BusEventImpl(Enum<?>, EventMetaData, EventBus) - Constructor for class org.refcodes.eventbus.BusEventImpl
-
Constructs an event with the given Meta-Data.
- BusEventImpl(String, String, String, String, Class<?>, EventBus) - Constructor for class org.refcodes.eventbus.BusEventImpl
-
Constructs an event with the given values for the according properties.
- BusEventImpl(String, EventBus) - Constructor for class org.refcodes.eventbus.BusEventImpl
-
Constructs an event with predefined values for the according properties retrieved from the caller's class.
- BusEventImpl(EventBus) - Constructor for class org.refcodes.eventbus.BusEventImpl
-
Constructs an event with the given Meta-Data.
- BusEventImpl(EventMetaData, EventBus) - Constructor for class org.refcodes.eventbus.BusEventImpl
-
Constructs an event with the given Meta-Data.
- BusMatcher - Interface in org.refcodes.eventbus
-
A convenience definition of an
EventMatcher
for the ready to use out of the boxEventBusImpl
implementation of the genericGenericEventBus
definition. - BusMatcherSugar - Class in org.refcodes.eventbus
-
Declarative syntactic sugar which may be statically imported in order to allow declarative definitions for the
BusMatcher
elements. - BusMatcherSugar() - Constructor for class org.refcodes.eventbus.BusMatcherSugar
- BusObserver - Interface in org.refcodes.eventbus
-
A convenience definition of an
Observer
for the ready to use out of the boxEventBusImpl
implementation of the genericGenericEventBus
definition.
C
- CASCADE - org.refcodes.eventbus.DispatchStrategy
-
The parent (invoker) thread is used to publish the parent's event to all matching observers (and is blocked till done).
- cascadeDispatch(E, Object) - Method in class org.refcodes.eventbus.AbstractEventBus
-
Hook implementing the cascaded dispatch method as of
DispatchStrategy.CASCADE
- catchAll() - Static method in class org.refcodes.eventbus.BusMatcherSugar
-
Catches all events, no matching is done.
- catchNone() - Static method in class org.refcodes.eventbus.BusMatcherSugar
-
Catches no event, no matching is done.
- channelEqualWith(String) - Static method in class org.refcodes.eventbus.BusMatcherSugar
-
Factory method to create an "EQUAL WITH" matcher for the given channel compared with the channel stored in the
EventMetaData
.
D
- DispatchStrategy - Enum in org.refcodes.eventbus
-
The
DispatchStrategy
defines how child events are published within a parent event publish cycle. - DispatchStrategyAccessor - Interface in org.refcodes.eventbus
-
Provides an accessor for a
DispatchStrategy
property. - DispatchStrategyAccessor.DispatchStrategyMutator - Interface in org.refcodes.eventbus
-
Provides a mutator for a
DispatchStrategy
property. - DispatchStrategyAccessor.DispatchStrategyProperty - Interface in org.refcodes.eventbus
-
Provides a
DispatchStrategy
property.
E
- EventBus - Interface in org.refcodes.eventbus
-
The
EventBus
defines a predefinedGenericEventBus
tailored to use theActionMetaDataEvent
as event type to use. - EventBusImpl - Class in org.refcodes.eventbus
-
The
EventBusImpl
is a ready to use implementation of aEventBus
using a defaultDispatchStrategy
beingDispatchStrategy.CASCADE
and extending theAbstractEventBus
. - EventBusImpl() - Constructor for class org.refcodes.eventbus.EventBusImpl
-
Constructs the
EventBus
with theDispatchStrategy
beingDispatchStrategy.CASCADE
when publishing events. - EventBusImpl(int) - Constructor for class org.refcodes.eventbus.EventBusImpl
-
Constructs the
EventBus
with theDispatchStrategy
beingDispatchStrategy.CASCADE
when publishing events. - EventBusImpl(ExecutorService) - Constructor for class org.refcodes.eventbus.EventBusImpl
-
Constructs the
EventBus
with theDispatchStrategy
beingDispatchStrategy.CASCADE
when publishing events. - EventBusImpl(DispatchStrategy) - Constructor for class org.refcodes.eventbus.EventBusImpl
-
Constructs the
EventBus
with the givenDispatchStrategy
when publishing events. - EventBusImpl(DispatchStrategy, int) - Constructor for class org.refcodes.eventbus.EventBusImpl
-
Constructs the
EventBus
with the givenDispatchStrategy
when publishing events. - EventBusImpl(DispatchStrategy, ExecutorService) - Constructor for class org.refcodes.eventbus.EventBusImpl
-
Constructs the
EventBus
with theDispatchStrategy
beingDispatchStrategy.CASCADE
when publishing events.
G
- GenericBusEvent<A,META extends org.refcodes.mixin.EventMetaData,SRC extends GenericEventBus<?,?,?,?,?>> - Interface in org.refcodes.eventbus
-
Intuitive Meta-Interface for the
GenericActionMetaDataEvent
as used by theEventBus
. - GenericBusEvent.GenericBusEventBuilder<A,META extends org.refcodes.mixin.EventMetaData,SRC extends GenericEventBus<?,?,?,?,?>,B extends GenericBusEvent.GenericBusEventBuilder<A,META,SRC,B>> - Interface in org.refcodes.eventbus
-
Intuitive Meta-Interface for the
GenericBusEvent.GenericBusEventBuilder
as used by theGenericEventBus
. - GenericBusObservable<E extends org.refcodes.observer.GenericEvent<?>,O extends org.refcodes.observer.Observer<E>,MATCH extends org.refcodes.observer.EventMatcher<E>,H> - Interface in org.refcodes.eventbus
- GenericBusPublisher<E extends org.refcodes.observer.GenericEvent<?>> - Interface in org.refcodes.eventbus
-
The Interface BusPublisher.
- GenericEventBus<E extends org.refcodes.observer.GenericEvent<?>,O extends org.refcodes.observer.Observer<E>,MATCH extends org.refcodes.observer.EventMatcher<E>,META extends org.refcodes.mixin.EventMetaData,H> - Interface in org.refcodes.eventbus
-
The
GenericEventBus
is the (virtual) machine wide manager forGenericActionEvent
handling. - getDispatchStrategy() - Method in class org.refcodes.eventbus.AbstractEventBus
-
Retrieves the
DispatchStrategy
property from the property. - getDispatchStrategy() - Method in interface org.refcodes.eventbus.DispatchStrategyAccessor
-
Retrieves the
DispatchStrategy
property from the property. - getMetaData() - Method in class org.refcodes.eventbus.BusEventBuilderImpl
- groupEqualWith(String) - Static method in class org.refcodes.eventbus.BusMatcherSugar
-
Factory method to create an "EQUAL WITH" matcher for the given group compared with the group stored in the
EventMetaData
.
H
- hasHandle(H) - Method in class org.refcodes.eventbus.AbstractEventBus
I
- isAssignableFrom(Class<?>) - Static method in class org.refcodes.eventbus.BusMatcherSugar
-
Factory method to create an event matcher by event type.
- isMatching(E) - Method in class org.refcodes.eventbus.AbstractEventBus
L
- lookupHandle(H) - Method in class org.refcodes.eventbus.AbstractEventBus
O
- onAction(Class<EVT>, Enum<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action. - onAction(Class<EVT>, Enum<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action. - onAction(Enum<?>, O) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action. - onAction(Enum<?>, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action. - onActions(Class<EVT>, Observer<EVT>, Enum<?>...) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action. - onActions(Class<EVT>, Observer<EVT>, Enum<?>...) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action. - onActions(Observer<BusEvent>, Enum<?>...) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action. - onActions(O, Enum<?>...) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action. - onAlias(Class<EVT>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given name. - onAlias(Class<EVT>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given name. - onAlias(String, O) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given name. - onAlias(String, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given name. - onCatchAll(O) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes all events passing the Event-Bus. - onCatchAll(Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes all events passing the Event-Bus. - onChannel(Class<EVT>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given channel. - onChannel(Class<EVT>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given channel. - onChannel(String, O) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given channel. - onChannel(String, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given channel. - onEvent(Class<?>, Observer<E>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<?>, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, Class<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, Class<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, Enum<?>, Class<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, Enum<?>, Class<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, Enum<?>, String, String, String, String, Class<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, Enum<?>, String, String, String, String, Class<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, Enum<?>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, Enum<?>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, Enum<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, Enum<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, String, String, String, String, Class<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, String, String, String, String, Class<?>, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Class<EVT>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Enum<?>, Class<?>, Observer<E>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Enum<?>, Class<?>, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Enum<?>, String, String, String, String, Class<?>, Observer<E>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Enum<?>, String, String, String, String, Class<?>, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Enum<?>, String, Observer<E>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Enum<?>, String, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Enum<?>, Observer<E>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(Enum<?>, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(String, String, String, String, Class<?>, Observer<E>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(String, String, String, String, Class<?>, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(String, Observer<E>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onEvent(String, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes. - onGroup(Class<EVT>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given group. - onGroup(Class<EVT>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given group. - onGroup(String, O) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given group. - onGroup(String, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given group. - onType(Class<EVT>, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events of the given type. - onType(Class<EVT>, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events of the given type. - onUniversalId(Class<EVT>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given Universal-ID. - onUniversalId(Class<EVT>, String, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given Universal-ID. - onUniversalId(String, O) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given Universal-ID. - onUniversalId(String, Observer<BusEvent>) - Method in interface org.refcodes.eventbus.EventBus
-
Similar to the more generic method
GenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given Universal-ID. - or(BusMatcher...) - Static method in class org.refcodes.eventbus.BusMatcherSugar
-
Factory method to create an "OR" matcher for the given matchers.
- org.refcodes.eventbus - package org.refcodes.eventbus
-
The
GenericEventBus
is the (virtual) machine wide manager for event handling.
P
- PARALLEL - org.refcodes.eventbus.DispatchStrategy
-
Each matching observer is invoked in its own thread.
- parallelDispatch(E) - Method in class org.refcodes.eventbus.AbstractEventBus
-
Hook implementing the parallel dispatch method as of
DispatchStrategy.PARALLEL
- publisherIsAssignableFrom(Class<? extends PT>) - Static method in class org.refcodes.eventbus.BusMatcherSugar
-
Factory method to create an event matcher by event publisher type.
- publishEvent(E) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Publishes an event using the
DispatchStrategy
as returned byDispatchStrategyAccessor.getDispatchStrategy()
. - publishEvent(E, DispatchStrategy) - Method in class org.refcodes.eventbus.AbstractEventBus
-
Publishes an event using the given
DispatchStrategy
. - publishEvent(E, DispatchStrategy) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Publishes an event using the given
DispatchStrategy
. - publishEvent(Class<?>) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(Class<?>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Class<?>, DispatchStrategy) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(Class<?>, DispatchStrategy) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, Class<?>) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, Class<?>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, Class<?>, DispatchStrategy) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, Class<?>, DispatchStrategy) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, String) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, String) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, String, String, String, String, Class<?>) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, String, String, String, String, Class<?>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, String, String, String, String, Class<?>, DispatchStrategy) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, String, String, String, String, Class<?>, DispatchStrategy) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, String, DispatchStrategy) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, String, DispatchStrategy) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, META) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, META, DispatchStrategy) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, DispatchStrategy) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, DispatchStrategy) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, EventMetaData) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(Enum<?>, EventMetaData, DispatchStrategy) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(String) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(String) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(String, String, String, String, Class<?>) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(String, String, String, String, Class<?>) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(String, String, String, String, Class<?>, DispatchStrategy) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(String, String, String, String, Class<?>, DispatchStrategy) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(String, DispatchStrategy) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(String, DispatchStrategy) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(META) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(META, DispatchStrategy) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(DispatchStrategy) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(DispatchStrategy) - Method in interface org.refcodes.eventbus.GenericEventBus
-
Fires an event with the according properties.
- publishEvent(EventMetaData) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
- publishEvent(EventMetaData, DispatchStrategy) - Method in interface org.refcodes.eventbus.EventBus
-
Fires an event with the according properties.
R
- removeHandle(H) - Method in class org.refcodes.eventbus.AbstractEventBus
S
- SEQUENTIAL - org.refcodes.eventbus.DispatchStrategy
-
The parent (invoker) thread is used to publish the parent's event as well as the child events published by the matching observers of the parent event (and so on, in case them use
DispatchStrategy.SEQUENTIAL
as well). - sequentialDispatch(E) - Method in class org.refcodes.eventbus.AbstractEventBus
-
Hook implementing the sequential dispatch method as of
DispatchStrategy.SEQUENTIAL
- setAlias(String) - Method in class org.refcodes.eventbus.BusEventBuilderImpl
- setChannel(String) - Method in class org.refcodes.eventbus.BusEventBuilderImpl
- setDispatchStrategy(DispatchStrategy) - Method in interface org.refcodes.eventbus.DispatchStrategyAccessor.DispatchStrategyMutator
-
Sets the
DispatchStrategy
property for the property. - setGroup(String) - Method in class org.refcodes.eventbus.BusEventBuilderImpl
- setMetaData(EventMetaData) - Method in class org.refcodes.eventbus.BusEventBuilderImpl
- setPublisherType(Class<?>) - Method in class org.refcodes.eventbus.BusEventBuilderImpl
- setUniversalId(String) - Method in class org.refcodes.eventbus.BusEventBuilderImpl
- subscribe(Class<EVT>, MATCH, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericBusObservable
-
Subscribes a listener to the event bus.
- subscribe(Class<EVT>, BusMatcher, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Subscribes a listener to the event bus.
- subscribe(Class<EVT>, Observer<EVT>) - Method in interface org.refcodes.eventbus.EventBus
-
Subscribes a listener to the event bus.
- subscribe(Class<EVT>, Observer<EVT>) - Method in interface org.refcodes.eventbus.GenericBusObservable
-
Subscribes a listener to the event bus.
- subscribe(MATCH, O) - Method in class org.refcodes.eventbus.AbstractEventBus
-
Subscribes a listener to the event bus.
- subscribe(MATCH, O) - Method in interface org.refcodes.eventbus.GenericBusObservable
-
Subscribes a listener to the event bus.
U
- uidIdEqualWith(String) - Static method in class org.refcodes.eventbus.BusMatcherSugar
-
Factory method to create an "EQUAL WITH" matcher for the given UID compared with the UID stored in the
EventMetaData
. - unsubscribeAll(O) - Method in class org.refcodes.eventbus.AbstractEventBus
-
Unsubscribes all registrations to a specific listener, even if that listener is involved in several subscriptions.
- unsubscribeAll(O) - Method in interface org.refcodes.eventbus.GenericBusObservable
-
Unsubscribes all registrations to a specific listener, even if that listener is involved in several subscriptions.
V
- valueOf(String) - Static method in enum org.refcodes.eventbus.DispatchStrategy
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.refcodes.eventbus.DispatchStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.