Spring Integration

org.springframework.integration.handler.advice
Class AbstractRequestHandlerAdvice

java.lang.Object
  extended by org.springframework.integration.handler.advice.AbstractRequestHandlerAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
Direct Known Subclasses:
ExpressionEvaluatingRequestHandlerAdvice, RequestHandlerCircuitBreakerAdvice, RequestHandlerRetryAdvice

public abstract class AbstractRequestHandlerAdvice
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor

Base class for MessageHandler advice classes.

Since:
2.2
Author:
Gary Russell

Nested Class Summary
protected static interface AbstractRequestHandlerAdvice.ExecutionCallback
           
 
Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
AbstractRequestHandlerAdvice()
           
 
Method Summary
protected abstract  java.lang.Object doInvoke(AbstractRequestHandlerAdvice.ExecutionCallback callback, java.lang.Object target, Message<?> message)
           
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

AbstractRequestHandlerAdvice

public AbstractRequestHandlerAdvice()
Method Detail

invoke

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

doInvoke

protected abstract java.lang.Object doInvoke(AbstractRequestHandlerAdvice.ExecutionCallback callback,
                                             java.lang.Object target,
                                             Message<?> message)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

Spring Integration