org.springframework.integration.channel.interceptor
Class ChannelInterceptorAdapter
java.lang.Object
org.springframework.integration.channel.interceptor.ChannelInterceptorAdapter
- All Implemented Interfaces:
- ChannelInterceptor
- Direct Known Subclasses:
- MessageSelectingInterceptor, MessageTransformingChannelInterceptor, WireTap
public class ChannelInterceptorAdapter
- extends java.lang.Object
- implements ChannelInterceptor
A ChannelInterceptor
with no-op method implementations so that
subclasses do not have to implement all of the interface's methods.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelInterceptorAdapter
public ChannelInterceptorAdapter()
preSend
public Message<?> preSend(Message<?> message,
MessageChannel channel)
- Specified by:
preSend
in interface ChannelInterceptor
postSend
public void postSend(Message<?> message,
MessageChannel channel,
boolean sent)
- Specified by:
postSend
in interface ChannelInterceptor
preReceive
public boolean preReceive(MessageChannel channel)
- Specified by:
preReceive
in interface ChannelInterceptor
postReceive
public Message<?> postReceive(Message<?> message,
MessageChannel channel)
- Specified by:
postReceive
in interface ChannelInterceptor