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(org.springframework.messaging.support.ChannelInterceptor interceptor)
And a
ChannelInterceptor to the target implementation. |
void |
addInterceptor(int index,
org.springframework.messaging.support.ChannelInterceptor interceptor)
And a
ChannelInterceptor to the target implementation for the specific index. |
java.util.List<org.springframework.messaging.support.ChannelInterceptor> |
getChannelInterceptors()
return the
ChannelInterceptor list. |
boolean |
removeInterceptor(org.springframework.messaging.support.ChannelInterceptor interceptor)
Remove the provided
ChannelInterceptor from the target implementation. |
org.springframework.messaging.support.ChannelInterceptor |
removeInterceptor(int index)
Remove a
ChannelInterceptor from the target implementation for specific index. |
void |
setInterceptors(java.util.List<org.springframework.messaging.support.ChannelInterceptor> interceptors)
Populate the
ChannelInterceptors to the target implementation. |
void setInterceptors(java.util.List<org.springframework.messaging.support.ChannelInterceptor> interceptors)
ChannelInterceptors to the target implementation.interceptors - the ChannelInterceptors to populate.void addInterceptor(org.springframework.messaging.support.ChannelInterceptor interceptor)
ChannelInterceptor to the target implementation.interceptor - the ChannelInterceptor to add.void addInterceptor(int index,
org.springframework.messaging.support.ChannelInterceptor interceptor)
ChannelInterceptor to the target implementation for the specific index.index - the index for ChannelInterceptor to add.interceptor - the ChannelInterceptor to add.java.util.List<org.springframework.messaging.support.ChannelInterceptor> getChannelInterceptors()
ChannelInterceptor list.ChannelInterceptor list.boolean removeInterceptor(org.springframework.messaging.support.ChannelInterceptor interceptor)
ChannelInterceptor from the target implementation.interceptor - ChannelInterceptor to remove.boolean if ChannelInterceptor has been removed.org.springframework.messaging.support.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.