A B C D E G H I L M N O P Q R S T 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>, int, ReferenceStrength) - Method in class org.pdfsam.eventstudio.Listeners
 
add(Class<T>, Listener<T>, int, ReferenceStrength) - Method in class org.pdfsam.eventstudio.Station
 
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>, int, ReferenceStrength) - Method in class org.pdfsam.eventstudio.Station
 
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.
addAll(Object, List<Annotations.ReflectiveListenerDescriptor>) - Method in class org.pdfsam.eventstudio.Listeners
 
addAll(Object, List<Annotations.ReflectiveListenerDescriptor>) - Method in class org.pdfsam.eventstudio.Station
 
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
addIfAnnotated(Annotations.ReflectiveMetadata, Method) - Static method in class org.pdfsam.eventstudio.Annotations
 
Annotations - Class in org.pdfsam.eventstudio
Utility methods processing beans to find annotated method or fields and register reflective listeners.
Annotations() - Constructor for class org.pdfsam.eventstudio.Annotations
 
Annotations.ReflectiveListenerDescriptor - Class in org.pdfsam.eventstudio
Descriptor of a reflective listener holding information needed to create the listener
Annotations.ReflectiveMetadata - Class in org.pdfsam.eventstudio
Holds metadata retrieved from the reflective inspection of a bean

B

bean - Variable in class org.pdfsam.eventstudio.Listeners.ReflectiveListenerWrapper
 
broadcast(Object) - Method in class org.pdfsam.eventstudio.DefaultEventStudio
Boradcast the event to the hidden station
broadcast(Object) - Method in class org.pdfsam.eventstudio.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.
broadcastEnqueuedEventsFor(Class<?>) - Method in class org.pdfsam.eventstudio.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.
clear(String) - Method in class org.pdfsam.eventstudio.Stations
 
compareTo(Listeners.ListenerReferenceHolder) - Method in class org.pdfsam.eventstudio.Listeners.ListenerReferenceHolder
 

D

DefaultEventStudio - Class in org.pdfsam.eventstudio
Default implementation of EventStudio.
DefaultEventStudio() - Constructor for class org.pdfsam.eventstudio.DefaultEventStudio
 
DefaultEventStudioHolder() - Constructor for class org.pdfsam.eventstudio.StaticStudio.DefaultEventStudioHolder
 
DefaultListenerWrapper(Listener) - Constructor for class org.pdfsam.eventstudio.Listeners.DefaultListenerWrapper
 
defaultString(String, String) - Static method in class org.pdfsam.eventstudio.util.StringUtils
 
descriptors - Variable in class org.pdfsam.eventstudio.Annotations.ReflectiveMetadata
 
doBroadcast(Object) - Method in class org.pdfsam.eventstudio.Station
 

E

Entity<T> - Interface in org.pdfsam.eventstudio
Holder for an instance.
Entity.ReferencedEntity<T> - Class in org.pdfsam.eventstudio
Holds an entity referenced using the input Reference
Entity.StrongEntity<T> - Class in org.pdfsam.eventstudio
A strongly referenced entity
Envelope - Class in org.pdfsam.eventstudio
Hold an event and the state of its notification
Envelope(Object) - Constructor for class org.pdfsam.eventstudio.Envelope
 
equals(Object) - Method in class org.pdfsam.eventstudio.Listeners.DefaultListenerWrapper
 
event - Variable in class org.pdfsam.eventstudio.Envelope
 
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
 

G

get() - Method in interface org.pdfsam.eventstudio.Entity
 
get() - Method in class org.pdfsam.eventstudio.Entity.ReferencedEntity
 
get() - Method in class org.pdfsam.eventstudio.Entity.StrongEntity
 
getDescriptors() - Method in class org.pdfsam.eventstudio.Annotations.ReflectiveMetadata
 
getEvent() - Method in class org.pdfsam.eventstudio.Envelope
 
getListenerAnnotation() - Method in class org.pdfsam.eventstudio.Annotations.ReflectiveListenerDescriptor
 
getListenerWrapper() - Method in class org.pdfsam.eventstudio.Listeners.ListenerReferenceHolder
 
getMethod() - Method in class org.pdfsam.eventstudio.Annotations.ReflectiveListenerDescriptor
 
getMethods(Object) - Static method in class org.pdfsam.eventstudio.Annotations
 
getQueue(Class<?>) - Method in class org.pdfsam.eventstudio.Station
 
getReference(T) - Method in enum org.pdfsam.eventstudio.ReferenceStrength
 
getStation() - Method in class org.pdfsam.eventstudio.Annotations.ReflectiveMetadata
 
getStation(String) - Method in class org.pdfsam.eventstudio.Stations
 
getStationNameFromFieldIfAny(Object) - Static method in class org.pdfsam.eventstudio.Annotations
 
getStationNameIfAnnotated(Method, Object) - Static method in class org.pdfsam.eventstudio.Annotations
 
getStations() - Method in class org.pdfsam.eventstudio.Stations
 

H

hashCode() - Method in class org.pdfsam.eventstudio.Listeners.DefaultListenerWrapper
 
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
 
isNotified() - Method in class org.pdfsam.eventstudio.Envelope
 

L

Listener<T> - Interface in org.pdfsam.eventstudio
Listener for events of the generic type
listenerAnnotation - Variable in class org.pdfsam.eventstudio.Annotations.ReflectiveListenerDescriptor
 
ListenerReferenceHolder(int, Entity<? extends Listeners.ListenerWrapper>) - Constructor for class org.pdfsam.eventstudio.Listeners.ListenerReferenceHolder
 
listeners - Variable in class org.pdfsam.eventstudio.Listeners
 
listeners - Variable in class org.pdfsam.eventstudio.Station
 
Listeners - Class in org.pdfsam.eventstudio
A thread-safe holder for the listeners
Listeners() - Constructor for class org.pdfsam.eventstudio.Listeners
 
Listeners.DefaultListenerWrapper - Class in org.pdfsam.eventstudio
Listener wrapper around an explicitly defined Listener
Listeners.ListenerReferenceHolder - Class in org.pdfsam.eventstudio
Listeners.ListenerWrapper - Interface in org.pdfsam.eventstudio
Wraps a listener defined either explicitly or picked up by the annotation processor
Listeners.ReflectiveListenerWrapper - Class in org.pdfsam.eventstudio
Reflective invocation of an annotated listener
lock - Variable in class org.pdfsam.eventstudio.Listeners
 
LOG - Static variable in class org.pdfsam.eventstudio.Annotations
 
LOG - Static variable in class org.pdfsam.eventstudio.Listeners
 
LOG - Static variable in class org.pdfsam.eventstudio.Station
 
LOG - Static variable in class org.pdfsam.eventstudio.Stations
 

M

MAX_QUEUE_SIZE_PROP - Static variable in interface org.pdfsam.eventstudio.EventStudio
 
method - Variable in class org.pdfsam.eventstudio.Annotations.ReflectiveListenerDescriptor
 
method - Variable in class org.pdfsam.eventstudio.Listeners.ReflectiveListenerWrapper
 

N

name - Variable in class org.pdfsam.eventstudio.Station
 
name() - Method in class org.pdfsam.eventstudio.Station
 
notified - Variable in class org.pdfsam.eventstudio.Envelope
 
notified() - Method in class org.pdfsam.eventstudio.Envelope
set this event as notified
nullSafeGetListenerHolders(Class<?>) - Method in class org.pdfsam.eventstudio.Listeners
 
nullSafeGetListeners(Class<?>) - Method in class org.pdfsam.eventstudio.Listeners
 

O

onEvent(Envelope) - Method in class org.pdfsam.eventstudio.Listeners.DefaultListenerWrapper
 
onEvent(Envelope) - Method in interface org.pdfsam.eventstudio.Listeners.ListenerWrapper
 
onEvent(Envelope) - Method in class org.pdfsam.eventstudio.Listeners.ReflectiveListenerWrapper
 
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 - Variable in class org.pdfsam.eventstudio.Listeners.ListenerReferenceHolder
 
priority() - Method in annotation type org.pdfsam.eventstudio.annotation.EventListener
 
process(Object) - Static method in class org.pdfsam.eventstudio.Annotations
 
put(String, Annotations.ReflectiveListenerDescriptor) - Method in class org.pdfsam.eventstudio.Annotations.ReflectiveMetadata
 

Q

queues - Variable in class org.pdfsam.eventstudio.Station
 

R

reference - Variable in class org.pdfsam.eventstudio.Entity.ReferencedEntity
 
reference - Variable in class org.pdfsam.eventstudio.Listeners.ListenerReferenceHolder
 
ReferencedEntity(Reference<T>) - Constructor for class org.pdfsam.eventstudio.Entity.ReferencedEntity
 
ReferenceStrength - Enum in org.pdfsam.eventstudio
Possible reference strengths of the listeners
ReferenceStrength() - Constructor for enum org.pdfsam.eventstudio.ReferenceStrength
 
referent - Variable in class org.pdfsam.eventstudio.Entity.StrongEntity
 
ReflectionUtils - Class in org.pdfsam.eventstudio.util
Utility class used to infer the parameter type of an input method of an input class
ReflectionUtils() - Constructor for class org.pdfsam.eventstudio.util.ReflectionUtils
 
ReflectiveListenerDescriptor(EventListener, Method) - Constructor for class org.pdfsam.eventstudio.Annotations.ReflectiveListenerDescriptor
 
ReflectiveListenerWrapper(Object, Method) - Constructor for class org.pdfsam.eventstudio.Listeners.ReflectiveListenerWrapper
 
ReflectiveMetadata() - Constructor for class org.pdfsam.eventstudio.Annotations.ReflectiveMetadata
 
remove(Class<?>, Listeners.ListenerReferenceHolder) - Method in class org.pdfsam.eventstudio.Listeners
Removes the listener listening for the given event if present.
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>) - Method in class org.pdfsam.eventstudio.Listeners
Removes the listener listening for the given event if present.
remove(Class<T>, Listener<T>) - Method in class org.pdfsam.eventstudio.Station
 
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>) - Method in class org.pdfsam.eventstudio.Station
 
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.
removeListenerAndSetIfNeeded(Class<?>, Listeners.ListenerReferenceHolder, TreeSet<Listeners.ListenerReferenceHolder>) - Method in class org.pdfsam.eventstudio.Listeners
 
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
RequireUtils() - Constructor for class org.pdfsam.eventstudio.util.RequireUtils
 

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.
StaticStudio() - Constructor for class org.pdfsam.eventstudio.StaticStudio
 
StaticStudio.DefaultEventStudioHolder - Class in org.pdfsam.eventstudio
Lazy initialization
station - Variable in class org.pdfsam.eventstudio.Annotations.ReflectiveMetadata
 
station() - Method in annotation type org.pdfsam.eventstudio.annotation.EventListener
 
Station - Class in org.pdfsam.eventstudio
A Station is a place where broadcaster events are actually transmitted to the registered Listeners
Station(String) - Constructor for class org.pdfsam.eventstudio.Station
 
stations - Variable in class org.pdfsam.eventstudio.DefaultEventStudio
 
stations - Variable in class org.pdfsam.eventstudio.Stations
 
Stations - Class in org.pdfsam.eventstudio
A thread safe holder for Station.
Stations() - Constructor for class org.pdfsam.eventstudio.Stations
 
strength() - Method in annotation type org.pdfsam.eventstudio.annotation.EventListener
 
StringUtils - Class in org.pdfsam.eventstudio.util
Simple utility methods String related.
StringUtils() - Constructor for class org.pdfsam.eventstudio.util.StringUtils
 
STRONG - org.pdfsam.eventstudio.ReferenceStrength
 
StrongEntity(T) - Constructor for class org.pdfsam.eventstudio.Entity.StrongEntity
 
STUDIO - Static variable in class org.pdfsam.eventstudio.StaticStudio.DefaultEventStudioHolder
 
supervior(Supervisor) - Method in class org.pdfsam.eventstudio.Station
 
supervisor - Variable in class org.pdfsam.eventstudio.Station
 
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.

T

toString() - Method in class org.pdfsam.eventstudio.Station
 

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
 
wrapped - Variable in class org.pdfsam.eventstudio.Listeners.DefaultListenerWrapper
 
A B C D E G H I L M N O P Q R S T V W 
All Classes All Packages