org.mule.module.spring.interceptor
Class InterceptorAdapter

java.lang.Object
  extended by org.mule.module.spring.interceptor.InterceptorAdapter
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

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

This adapts an implementation of the Interceptor interface for use with the Spring AOP interceptor framework. Note that the Interceptor implementation can return null if it does not want to change the result - the appropriate MuleMessage will then be constructed correctly by Mule.


Constructor Summary
InterceptorAdapter()
           
 
Method Summary
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 void setInterceptor(Interceptor interceptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorAdapter

public InterceptorAdapter()
Method Detail

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
Throwable

setInterceptor

public void setInterceptor(Interceptor interceptor)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.