Spring BlazeDS Integration

org.springframework.flex.core
Class MessageInterceptionAdvice

java.lang.Object
  extended by org.springframework.flex.core.MessageInterceptionAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class MessageInterceptionAdvice
extends Object
implements org.aopalliance.intercept.MethodInterceptor

AOP interceptor that applies any provided MessageInterceptors to the AMF Message being processed.

Author:
Jeremy Grelle

Constructor Summary
MessageInterceptionAdvice()
           
 
Method Summary
 Set<MessageInterceptor> getMessageInterceptors()
          Returns the chain of provided MessageInterceptors
 Object invoke(org.aopalliance.intercept.MethodInvocation mi)
          
 void setMessageInterceptors(Set<MessageInterceptor> messageInterceptors)
          Sets the chain of provided MessageInterceptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageInterceptionAdvice

public MessageInterceptionAdvice()
Method Detail

getMessageInterceptors

public Set<MessageInterceptor> getMessageInterceptors()
Returns the chain of provided MessageInterceptors

Returns:
the message interceptors

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation mi)
              throws Throwable

Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
Throwable

setMessageInterceptors

public void setMessageInterceptors(Set<MessageInterceptor> messageInterceptors)
Sets the chain of provided MessageInterceptors

Parameters:
messageInterceptors - the message interceptors

Spring BlazeDS Integration

Copyright © 2011. All Rights Reserved.