public class ChannelInvocation
extends java.lang.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(org.aopalliance.intercept.MethodInvocation methodInvocation) |
Modifier and Type | Method and Description |
---|---|
MessageChannel |
getChannel() |
Message<?> |
getMessage() |
org.aopalliance.intercept.MethodInvocation |
getMethodInvocation() |
boolean |
isReceive() |
boolean |
isSend() |
public ChannelInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)
methodInvocation
- the intercepted MethodInvocation instancepublic MessageChannel getChannel()
public Message<?> getMessage()
public org.aopalliance.intercept.MethodInvocation getMethodInvocation()
public boolean isSend()
public boolean isReceive()