Spring Integration

org.springframework.integration.handler.advice
Interface AbstractRequestHandlerAdvice.ExecutionCallback

Enclosing class:
AbstractRequestHandlerAdvice

protected static interface AbstractRequestHandlerAdvice.ExecutionCallback

Called by subclasses in doInvoke() to proceed() the invocation. Callers unwrap AbstractRequestHandlerAdvice.ThrowableHolderExceptions and use the cause for evaluation and re-throwing purposes. See AbstractRequestHandlerAdvice.unwrapExceptionIfNecessary(Exception).


Method Summary
 java.lang.Object cloneAndExecute()
          Call this when it is necessary to clone the invocation before calling proceed() - such as when the invocation might be called multiple times - for example in a retry advice.
 java.lang.Object execute()
          Call this for a normal invocation.proceed().
 

Method Detail

execute

java.lang.Object execute()
                         throws java.lang.Exception
Call this for a normal invocation.proceed().

Throws:
java.lang.Exception

cloneAndExecute

java.lang.Object cloneAndExecute()
                                 throws java.lang.Exception
Call this when it is necessary to clone the invocation before calling proceed() - such as when the invocation might be called multiple times - for example in a retry advice.

Throws:
java.lang.Exception

Spring Integration