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 java.lang.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
 java.util.Set<MessageInterceptor> getMessageInterceptors()
          Returns the chain of provided MessageInterceptors
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation mi)
          
 void setMessageInterceptors(java.util.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 java.util.Set<MessageInterceptor> getMessageInterceptors()
Returns the chain of provided MessageInterceptors

Returns:
the message interceptors

invoke

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

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

setMessageInterceptors

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

Parameters:
messageInterceptors - the message interceptors