A B C D E H I L M O P R S V W 
All Classes All Packages

A

add(Class<T>, Listener<T>) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
Adds a Listener to 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 strength ReferenceStrength.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 Listener to 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 Listener to the given station using default priority(0) ad default strength ReferenceStrength.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 Listener to 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 the given bean and adds them as Listeners

B

broadcast(Object) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
Boradcast 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 in org.pdfsam.eventstudio.exception
Exception thrown by listeners to interrupt broadcast of an event.
BroadcastInterruptionException(String) - Constructor for exception 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 EventStudio which means that Listeners and Supervisor will not be notified anymore.

D

DefaultEventStudio - Class in org.pdfsam.eventstudio
Default implementation of EventStudio.
DefaultEventStudio() - Constructor for class org.pdfsam.eventstudio.DefaultEventStudio
 
defaultString(String, String) - Static method in class org.pdfsam.eventstudio.util.StringUtils
 

E

EventListener - Annotation Type in org.pdfsam.eventstudio.annotation
Annotated methods will be registered as Listener for the event in the method signature.
EventStation - Annotation Type in org.pdfsam.eventstudio.annotation
Annotation to allow the definition of an event station with it's 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 EventStudio is a thread-safe central place allowing broadcast of events to Listeners to registered on a Station.
EventStudioException - Exception in org.pdfsam.eventstudio.exception
Exception thrown by the event studio library
EventStudioException(String) - Constructor for exception org.pdfsam.eventstudio.exception.EventStudioException
 
EventStudioException(String, Throwable) - Constructor for exception org.pdfsam.eventstudio.exception.EventStudioException
 
EventStudioException(Throwable) - Constructor for exception 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

inferParameterClass(Class, String) - Static method in class org.pdfsam.eventstudio.util.ReflectionUtils
Given a concrete class and a method name, it tries to infer the Class of the first parameter of the method
inspect(Object) - Method in interface org.pdfsam.eventstudio.Supervisor
Inspect the event
isBlank(String) - Static method in class org.pdfsam.eventstudio.util.StringUtils
 
isNotBlank(String) - Static method in class org.pdfsam.eventstudio.util.StringUtils
 

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
 
org.pdfsam.eventstudio.util - package org.pdfsam.eventstudio.util
 

P

priority() - Method in annotation type org.pdfsam.eventstudio.annotation.EventListener
 

R

ReferenceStrength - Enum in org.pdfsam.eventstudio
Possible reference strengths of the listeners
ReflectionUtils - Class in org.pdfsam.eventstudio.util
Utility class used to infer the parameter type of an input method of an input class
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 Listener listening 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 Listener from the given station.
requireNotBlank(String) - Static method in class org.pdfsam.eventstudio.util.RequireUtils
Requires that the input string is not blank
requireNotNull(Object) - Static method in class org.pdfsam.eventstudio.util.RequireUtils
Requires that the input argument is not null
RequireUtils - Class in org.pdfsam.eventstudio.util
Utility class with some helper method to check validity of input arguments

S

SLACKER - Static variable in interface org.pdfsam.eventstudio.Supervisor
Empty implementation of the Supervisor.
SOFT - org.pdfsam.eventstudio.ReferenceStrength
 
StaticStudio - Class in org.pdfsam.eventstudio
Singleton pattern providing lazy initialization.
station() - Method in annotation type org.pdfsam.eventstudio.annotation.EventListener
 
strength() - Method in annotation type org.pdfsam.eventstudio.annotation.EventListener
 
StringUtils - Class in org.pdfsam.eventstudio.util
Simple utility methods String related.
STRONG - org.pdfsam.eventstudio.ReferenceStrength
 
supervisor(Supervisor) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
Adds a Supervisor to 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 Supervisor for the given station.
Supervisor - Interface in org.pdfsam.eventstudio
A Supervisor can inspect every event transmitted to a Station before it's handed over to the station Listeners interested in that type of event.

V

valueOf(String) - Static method in enum org.pdfsam.eventstudio.ReferenceStrength
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.pdfsam.eventstudio.ReferenceStrength
Returns an array containing the constants of this enum type, in the order they are declared.

W

WEAK - org.pdfsam.eventstudio.ReferenceStrength
 
A B C D E H I L M O P R S V W 
All Classes All Packages