Class ChannelInvocation
java.lang.Object
org.springframework.integration.security.channel.ChannelInvocation
public class ChannelInvocation
extends java.lang.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.-
Constructor Summary
Constructors Constructor Description ChannelInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation) -
Method Summary
Modifier and Type Method Description org.springframework.messaging.MessageChannelgetChannel()org.springframework.messaging.Message<?>getMessage()org.aopalliance.intercept.MethodInvocationgetMethodInvocation()booleanisReceive()booleanisSend()
-
Constructor Details
-
ChannelInvocation
public ChannelInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)- Parameters:
methodInvocation- the intercepted MethodInvocation instance
-
-
Method Details
-
getChannel
public org.springframework.messaging.MessageChannel getChannel() -
getMessage
public org.springframework.messaging.Message<?> getMessage() -
getMethodInvocation
public org.aopalliance.intercept.MethodInvocation getMethodInvocation() -
isSend
public boolean isSend() -
isReceive
public boolean isReceive()
-