public interface VetoCapableInterceptor
ChannelInterceptors implementing this interface can veto
global interception of a particular channel. Could be used, for example,
when an interceptor itself writes to an output channel (which should
not be intercepted with this interceptor).| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldIntercept(java.lang.String beanName,
ChannelInterceptorAware channel) |
boolean shouldIntercept(java.lang.String beanName,
ChannelInterceptorAware channel)
beanName - The channel name.channel - The channel that is about to be intercepted.