Spring Integration

org.springframework.integration.security.channel
Class ChannelInvocation

java.lang.Object
  extended by 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
ChannelInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
 
Method Summary
 MessageChannel getChannel()
           
 Message<?> getMessage()
           
 org.aopalliance.intercept.MethodInvocation getMethodInvocation()
           
 boolean isReceive()
           
 boolean isSend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelInvocation

public ChannelInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)
Parameters:
methodInvocation - the intercepted MethodInvocation instance
Method Detail

getChannel

public MessageChannel getChannel()

getMessage

public Message<?> getMessage()

getMethodInvocation

public org.aopalliance.intercept.MethodInvocation getMethodInvocation()

isSend

public boolean isSend()

isReceive

public boolean isReceive()

Spring Integration

Copyright © 2010. All Rights Reserved.