|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.aop.interceptor
as colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
AOP AllianceClass AsyncExecutionInterceptor, constructor AsyncExecutionInterceptor(Executor)MethodInterceptor
that processes method invocations asynchronously, using a given org.springframework.core.task.AsyncTaskExecutor. Typically used with the org.springframework.contextscheduling.taskannotation.Async annotation.In terms of target method signatures, any parameter types are supported. However, the return type is constrained to either
void
orjava.util.concurrent.Future
. In the latter case, the Future handle returned from the proxy will be an actual asynchronous Future that can be used to track the result of the asynchronous method execution. However, since the target method needs to implement the same signature, it will have to return a temporary Future handle that just passes the return value through (like Spring's org.springframework.scheduling.annotation.AsyncResult or EJB 3.1'sjavax.ejb.AsyncResult
).As of Spring 3.1.2 the {@code AnnotationAsyncExecutionInterceptor} subclass is preferred for use due to its support for executor qualification in conjunction with Spring's {@code @Async} annotation. @author Juergen Hoeller @author Chris Beams @since 3.0 @see org.springframework.scheduling.annotation.Async @see org.springframework.scheduling.annotation.
AsyncAnnotationAdvisorAsyncAnnotationAdvisor @see org.springframework.scheduling.annotation.AnnotationAsyncExecutionInterceptor
Create a new {@code AsyncExecutionInterceptor}. @paramasyncExecutorexecutor thejava.util.concurrent Executor to delegate toExecutor (typically a Spring AsyncTaskExecutor or java.util.concurrent.ExecutorService) to delegate to.