public final class DataflowChannelEventOrchestrator extends java.lang.Object
Groups the listener-related functionality shared by dataflow channels
Modifiers | Name | Description |
---|---|---|
private java.util.Collection<BindErrorListener<T>> |
BindErrorListener |
|
private java.util.Collection<DataflowChannelListener<T>> |
listeners |
Constructor and description |
---|
DataflowChannelEventOrchestrator
() |
Type | Name and description |
---|---|
void |
addAllBindErrorListeners(java.util.Collection<BindErrorListener<T>> listeners) |
void |
addAllDataflowChannelListeners(java.util.Collection<DataflowChannelListener<T>> listeners) |
void |
addBindErrorListener(BindErrorListener<T> listener) |
void |
addDataflowChannelListener(DataflowChannelListener<T> listener) |
void |
fireBindError(T oldValue, T failedValue, boolean uniqueBind) Notifies all listeners about failed bind operations |
void |
fireBindError(T oldValue, java.lang.Throwable failedError) Notifies all listeners about failed bindError operations |
void |
fireBindError(java.lang.Throwable oldError, T failedValue, boolean uniqueBind) Notifies all listeners about failed bind operations |
void |
fireBindError(java.lang.Throwable oldError, java.lang.Throwable failedError) Notifies all listeners about failed bindError operations |
void |
fireOnMessage(T message) |
java.util.Collection<BindErrorListener<T>> |
getBindErrorListeners() |
java.util.Collection<DataflowChannelListener<T>> |
getListeners() |
void |
removeBindErrorListener(BindErrorListener<T> listener) |
void |
removeDataflowChannelListener(DataflowChannelListener<T> listener) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Notifies all listeners about failed bind operations
oldValue
- The already bound valuefailedValue
- The value attempted to be bounduniqueBind
- Flag indicating bindUnique() method callNotifies all listeners about failed bindError operations
oldValue
- The already bound valuefailedError
- The error attempted to be boundNotifies all listeners about failed bind operations
oldError
- The already bound ThrowablefailedValue
- The value attempted to be bounduniqueBind
- Flag indicating bindUnique() method callNotifies all listeners about failed bindError operations
oldError
- The already bound ThrowablefailedError
- The error attempted to be boundCopyright © 2008–2014 Václav Pech. All Rights Reserved.