public class ChannelInvocation extends Object
ChannelSecurityInterceptor
. Maintains a reference
to the original MethodInvocation
instance and provides convenient
access to the secured MessageChannel
. If the intercepted invocation
is a send operation, the Message
is also available.Constructor and Description |
---|
ChannelInvocation(MethodInvocation methodInvocation) |
Modifier and Type | Method and Description |
---|---|
MessageChannel |
getChannel() |
Message<?> |
getMessage() |
MethodInvocation |
getMethodInvocation() |
boolean |
isReceive() |
boolean |
isSend() |
public ChannelInvocation(MethodInvocation methodInvocation)
methodInvocation
- the intercepted MethodInvocation instancepublic MessageChannel getChannel()
public Message<?> getMessage()
public MethodInvocation getMethodInvocation()
public boolean isSend()
public boolean isReceive()