| Package | Description |
|---|---|
| de.skuzzle.jeve |
This package defines the main public API of jeve. jeve is an open source
framework for implementing the observer pattern in Java 8 .
|
| de.skuzzle.jeve.builder |
This package contains the specification of jeve's fluent builder API for
creating
EventProvider. |
| de.skuzzle.jeve.providers |
Contains actual implementations of
EventProviders. |
| Modifier and Type | Method and Description |
|---|---|
static EventProvider<DefaultListenerStore> |
EventProvider.createDefault()
Convenience method for creating a synchronous event provider which uses a
default listener store.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultDispatchable.defaultDispatch(EventProvider<?> provider,
ExceptionCallback ec)
Dispatches this event with the given EventProvider using the listener's
default listening method.
|
void |
SuppressedEvent.redispatch(EventProvider<?> provider)
Tries to dispatch this event again using the given provider.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CustomConfigurator<S extends ListenerStore,C,E extends EventProvider<S>>
Hook in point for custom fluent builder API to use with
configure(). |
static interface |
EventProviderConfigurator.AsyncProviderConfigurator<S extends ListenerStore,E extends EventProvider<S>>
Provides configuration for EventProviders which use an
ExecutorService for dispatching Events using multi threading. |
static interface |
EventProviderConfigurator.ProviderConfigurator<S extends ListenerStore,E extends EventProvider<S>>
Provides configuration mostly for non-threaded EventProviders.
|
| Modifier and Type | Method and Description |
|---|---|
<C,E extends EventProvider<S>> |
EventProviderConfigurator.ProviderChooser.useCustomProvider(CustomConfigurator<S,C,E> configurator)
Entry point method for incorporating the fluent API to create custom
EventProvider instances. |
| Modifier and Type | Class and Description |
|---|---|
class |
StatisticsEventProvider<S extends ListenerStore,P extends EventProvider<S>>
EventProvider which delegates all method calls to a wrapped instance and
counts all dispatch actions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEventProvider<S extends ListenerStore>
Implementation of basic
EventProvider methods. |
class |
AsynchronousEventProvider<S extends ListenerStore>
This EventProvider fires events asynchronously using an
ExecutorService for managing the creation of threads. |
class |
AWTEventProvider<S extends ListenerStore>
EventProvider implementation that dispatches all events in the AWT
event thread. |
class |
ParallelEventProvider<S extends ListenerStore>
EventProvider implementation which uses an
ExecutorService to notify
each listener within a dedicated thread. |
class |
SequentialEventProvider<S extends ListenerStore>
EventProvider implementation which is always ready for dispatching
and simply runs all listeners within the current thread. |
class |
StatisticsEventProvider<S extends ListenerStore,P extends EventProvider<S>>
EventProvider which delegates all method calls to a wrapped instance and
counts all dispatch actions.
|
class |
UnrollingEventProvider<S extends ListenerStore>
Provider which queues events while dispatching.
|
Copyright © 2014–2015. All rights reserved.