public final class EJBReceiverInvocationContext extends AbstractReceiverInvocationContext
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
EJBReceiverInvocationContext.ResultProducer
A result producer for invocation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AuthenticationContext | 
getAuthenticationContext()
Get the authentication context of the request. 
 | 
EJBClientInvocationContext | 
getClientInvocationContext()
Get the invocation context associated with this receiver invocation context. 
 | 
void | 
proceedAsynchronously()
Indicate that the invocation should proceed asynchronously, if it isn't already. 
 | 
void | 
requestCancelled()
Indicate that the request was successfully cancelled and that no result is forthcoming. 
 | 
void | 
requestFailed(Exception cause)
Indicate that a request failed locally with the given exception cause. 
 | 
void | 
requestFailed(Exception cause,
             Executor retryExecutor)
Indicate that a request failed locally with the given exception cause. 
 | 
void | 
resultReady(EJBReceiverInvocationContext.ResultProducer resultProducer)
Indicate that the invocation result is ready. 
 | 
public void proceedAsynchronously()
public void resultReady(EJBReceiverInvocationContext.ResultProducer resultProducer)
resultProducer - the result producerpublic void requestCancelled()
public void requestFailed(Exception cause)
cause - the failure cause (must not be null)public void requestFailed(Exception cause, Executor retryExecutor)
cause - the failure cause (must not be null)retryExecutor - the executor to use for retry attempts (must not be null)public EJBClientInvocationContext getClientInvocationContext()
AbstractReceiverInvocationContextgetClientInvocationContext in class AbstractReceiverInvocationContextpublic AuthenticationContext getAuthenticationContext()
AbstractReceiverInvocationContextgetAuthenticationContext in class AbstractReceiverInvocationContextnull)Copyright © 2017 JBoss by Red Hat. All rights reserved.