public final class AsyncFutureInterceptorFactory extends Object implements org.jboss.invocation.InterceptorFactory
Future
. Because asynchronous invocations
necessarily run in a concurrent thread, any thread context setup interceptors should run after this
interceptor to prevent that context from becoming lost. This interceptor should be associated with the client
interceptor stack.
Cancellation notification is accomplished via the CancellationFlag
private data attachment. This interceptor
will create and attach a new cancellation flag, which will be set to true
if the request was cancelled.
This interceptor should only be used for local invocations.Modifier and Type | Field and Description |
---|---|
static org.jboss.invocation.InterceptorFactory |
INSTANCE |
Copyright © 2014 JBoss by Red Hat. All rights reserved.