public class DispatchInterceptors<M extends Message<?>> extends Object
MessageDispatchInterceptor
s that apply all interceptors in the order of registration.Constructor and Description |
---|
DispatchInterceptors() |
Modifier and Type | Method and Description |
---|---|
<T extends M> |
intercept(T message) |
Registration |
registerDispatchInterceptor(MessageDispatchInterceptor<? super M> dispatchInterceptor) |
public Registration registerDispatchInterceptor(MessageDispatchInterceptor<? super M> dispatchInterceptor)
public <T extends M> T intercept(T message)
Copyright © 2010–2020. All rights reserved.