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.
  • Constructor Details

    • ChannelInvocation

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

    • getChannel

      public org.springframework.messaging.MessageChannel getChannel()
      Deprecated.
    • getMessage

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

      public org.aopalliance.intercept.MethodInvocation getMethodInvocation()
      Deprecated.
    • isSend

      public boolean isSend()
      Deprecated.
    • isReceive

      public boolean isReceive()
      Deprecated.