public interface ChannelInterceptorAware
ChannelInterceptors
on MessageChannel implementations.
Typically useful when the target MessageChannel
is an AOP Proxy.
*
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptor(ChannelInterceptor interceptor)
And a
ChannelInterceptor to the target implementation. |
void |
addInterceptor(int index,
ChannelInterceptor interceptor)
And a
ChannelInterceptor to the target implementation for the specific index. |
List<ChannelInterceptor> |
getChannelInterceptors()
return the
ChannelInterceptor list. |
boolean |
removeInterceptor(ChannelInterceptor interceptor)
Remove the provided
ChannelInterceptor from the target implementation. |
ChannelInterceptor |
removeInterceptor(int index)
Remove a
ChannelInterceptor from the target implementation for specific index. |
void |
setInterceptors(List<ChannelInterceptor> interceptors)
Populate the
ChannelInterceptors to the target implementation. |
void setInterceptors(List<ChannelInterceptor> interceptors)
ChannelInterceptors to the target implementation.interceptors - the ChannelInterceptors to populate.void addInterceptor(ChannelInterceptor interceptor)
ChannelInterceptor to the target implementation.interceptor - the ChannelInterceptor to add.void addInterceptor(int index,
ChannelInterceptor interceptor)
ChannelInterceptor to the target implementation for the specific index.index - the index for ChannelInterceptor to add.interceptor - the ChannelInterceptor to add.List<ChannelInterceptor> getChannelInterceptors()
ChannelInterceptor list.ChannelInterceptor list.boolean removeInterceptor(ChannelInterceptor interceptor)
ChannelInterceptor from the target implementation.interceptor - ChannelInterceptor to remove.boolean if ChannelInterceptor has been removed.ChannelInterceptor removeInterceptor(int index)
ChannelInterceptor from the target implementation for specific index.index - the index for the ChannelInterceptor to remove.boolean if the ChannelInterceptor has been removed.