Class ChannelInvocation
java.lang.Object
org.springframework.integration.security.channel.ChannelInvocation
public class ChannelInvocation extends Object
Secured object for
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.- Author:
- Mark Fisher
-
Constructor Summary
Constructors Constructor Description ChannelInvocation(MethodInvocation methodInvocation)
-
Method Summary
Modifier and Type Method Description MessageChannel
getChannel()
Message<?>
getMessage()
MethodInvocation
getMethodInvocation()
boolean
isReceive()
boolean
isSend()
-
Constructor Details
-
ChannelInvocation
- Parameters:
methodInvocation
- the intercepted MethodInvocation instance
-
-
Method Details
-
getChannel
-
getMessage
-
getMethodInvocation
-
isSend
public boolean isSend() -
isReceive
public boolean isReceive()
-