Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(Class<T>, Listener<T>) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
-
Adds a
Listenerto the hidden station listening for the given event class, hiding the station abstraction. - add(Class<T>, Listener<T>, int, ReferenceStrength) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
-
Adds a
Listener(with the given priority and strength ) to the hidden station listening for the given event class, hiding the station abstraction. - add(Class<T>, Listener<T>, String) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
- add(Class<T>, Listener<T>, String) - Method in interface org.pdfsam.eventstudio.EventStudio
-
Adds the given
Listener, listening for the given event class, to the given station using default priority(0) ad default strengthReferenceStrength.STRONG. - add(Class<T>, Listener<T>, String, int, ReferenceStrength) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
- add(Class<T>, Listener<T>, String, int, ReferenceStrength) - Method in interface org.pdfsam.eventstudio.EventStudio
-
Adds the given
Listener, listening for the given event class, to the given station using the given priority (low values mean higher priority) and strength. - add(Listener<T>) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
-
Adds a
Listenerto the hidden station, hiding the station abstraction. - add(Listener<T>, int, ReferenceStrength) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
-
Adds a
Listener(with the given priority and strength ) to the hidden station, hiding the station abstraction. - add(Listener<T>, String) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
- add(Listener<T>, String) - Method in interface org.pdfsam.eventstudio.EventStudio
-
Adds the given
Listenerto the given station using default priority(0) ad default strengthReferenceStrength.STRONG. - add(Listener<T>, String, int, ReferenceStrength) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
- add(Listener<T>, String, int, ReferenceStrength) - Method in interface org.pdfsam.eventstudio.EventStudio
-
Adds the given
Listenerto the given station using the given priority (low values mean higher priority) and strength. - addAnnotatedListeners(Object) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
- addAnnotatedListeners(Object) - Method in interface org.pdfsam.eventstudio.EventStudio
-
Discovers annotated method on the given bean and adds them as
Listeners
B
- broadcast(Object) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
-
Broadcast the event to the hidden station
- broadcast(Object, String) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
- broadcast(Object, String) - Method in interface org.pdfsam.eventstudio.EventStudio
-
Broadcasts the given event to the given station.
- BroadcastInterruptionException - Exception Class in org.pdfsam.eventstudio.exception
-
Exception thrown by listeners to interrupt broadcast of an event.
- BroadcastInterruptionException(String) - Constructor for exception class org.pdfsam.eventstudio.exception.BroadcastInterruptionException
- broadcastToEveryStation(Object) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
- broadcastToEveryStation(Object) - Method in interface org.pdfsam.eventstudio.EventStudio
-
Broadcasts the given event to every station.
C
- clear() - Method in class org.pdfsam.eventstudio.DefaultEventStudio
-
Clears the hidden station
- clear(String) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
- clear(String) - Method in interface org.pdfsam.eventstudio.EventStudio
-
Clear the given station removing the whole station from the
EventStudiowhich means thatListeners andSupervisorwill not be notified anymore.
D
- DefaultEventStudio - Class in org.pdfsam.eventstudio
-
Default implementation of
EventStudio. - DefaultEventStudio() - Constructor for class org.pdfsam.eventstudio.DefaultEventStudio
E
- EventListener - Annotation Interface in org.pdfsam.eventstudio.annotation
-
Annotated methods will be registered as Listener for the event in the method signature.
- EventStation - Annotation Interface in org.pdfsam.eventstudio.annotation
-
Annotation to allow the definition of an event station with its name defined at runtime when the annotation is processed.
- eventStudio() - Static method in class org.pdfsam.eventstudio.StaticStudio
- EventStudio - Interface in org.pdfsam.eventstudio
-
An
EventStudiois a thread-safe central place allowing broadcast of events toListeners to registered on a Station. - EventStudioException - Exception Class in org.pdfsam.eventstudio.exception
-
Exception thrown by the event studio library
- EventStudioException(String) - Constructor for exception class org.pdfsam.eventstudio.exception.EventStudioException
- EventStudioException(String, Throwable) - Constructor for exception class org.pdfsam.eventstudio.exception.EventStudioException
- EventStudioException(Throwable) - Constructor for exception class org.pdfsam.eventstudio.exception.EventStudioException
H
- HIDDEN_STATION - Static variable in class org.pdfsam.eventstudio.DefaultEventStudio
-
A reserved station name that is used to hide the station abstraction.
I
- inspect(Object) - Method in interface org.pdfsam.eventstudio.Supervisor
-
Inspect the event
L
- Listener<T> - Interface in org.pdfsam.eventstudio
-
Listener for events of the generic type
M
- MAX_QUEUE_SIZE_PROP - Static variable in interface org.pdfsam.eventstudio.EventStudio
O
- onEvent(T) - Method in interface org.pdfsam.eventstudio.Listener
-
Notify the listener of the given event
- org.pdfsam.eventstudio - module org.pdfsam.eventstudio
- org.pdfsam.eventstudio - package org.pdfsam.eventstudio
- org.pdfsam.eventstudio.annotation - package org.pdfsam.eventstudio.annotation
- org.pdfsam.eventstudio.exception - package org.pdfsam.eventstudio.exception
P
- priority() - Element in annotation interface org.pdfsam.eventstudio.annotation.EventListener
R
- ReferenceStrength - Enum Class in org.pdfsam.eventstudio
-
Possible reference strengths of the listeners
- remove(Class<T>, Listener<T>) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
-
Removes the given listener listening on the given event, from the hidden station, hiding the station abstraction.
- remove(Class<T>, Listener<T>, String) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
- remove(Class<T>, Listener<T>, String) - Method in interface org.pdfsam.eventstudio.EventStudio
-
Removes the first occurrence of the given
Listenerlistening for the given event, from the given station - remove(Listener<T>) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
-
Removes the given listener from the hidden station, hiding the station abstraction.
- remove(Listener<T>, String) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
- remove(Listener<T>, String) - Method in interface org.pdfsam.eventstudio.EventStudio
-
Removes the first occurrence of the given
Listenerfrom the given station.
S
- SLACKER - Static variable in interface org.pdfsam.eventstudio.Supervisor
-
Empty implementation of the
Supervisor. - SOFT - Enum constant in enum class org.pdfsam.eventstudio.ReferenceStrength
- StaticStudio - Class in org.pdfsam.eventstudio
-
Singleton pattern providing lazy initialization.
- station() - Element in annotation interface org.pdfsam.eventstudio.annotation.EventListener
- strength() - Element in annotation interface org.pdfsam.eventstudio.annotation.EventListener
- STRONG - Enum constant in enum class org.pdfsam.eventstudio.ReferenceStrength
- supervisor(Supervisor) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
-
Adds a
Supervisorto the hidden station, hiding the station abstraction. - supervisor(Supervisor, String) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
- supervisor(Supervisor, String) - Method in interface org.pdfsam.eventstudio.EventStudio
-
Sets a
Supervisorfor the given station. - Supervisor - Interface in org.pdfsam.eventstudio
-
A
Supervisorcan inspect every event transmitted to aStationbefore it's handed over to the stationListeners interested in that type of event.
V
- valueOf(String) - Static method in enum class org.pdfsam.eventstudio.ReferenceStrength
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.pdfsam.eventstudio.ReferenceStrength
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WEAK - Enum constant in enum class org.pdfsam.eventstudio.ReferenceStrength
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form