Class ChannelInvocation

java.lang.Object
org.springframework.integration.security.channel.ChannelInvocation

@Deprecated(since="6.0") public class ChannelInvocation extends Object
Deprecated.
since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
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 Details

    • ChannelInvocation

      public ChannelInvocation(MethodInvocation methodInvocation)
      Deprecated.
      Parameters:
      methodInvocation - the intercepted MethodInvocation instance
  • Method Details

    • getChannel

      public MessageChannel getChannel()
      Deprecated.
    • getMessage

      public Message<?> getMessage()
      Deprecated.
    • getMethodInvocation

      public MethodInvocation getMethodInvocation()
      Deprecated.
    • isSend

      public boolean isSend()
      Deprecated.
    • isReceive

      public boolean isReceive()
      Deprecated.