public final class EJBReceiverInvocationContext extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
EJBReceiverInvocationContext.ResultProducer
A result producer for invocation.
|
Modifier and Type | Method and Description |
---|---|
EJBClientInvocationContext |
getClientInvocationContext()
Returns the
EJBClientInvocationContext associated with this EJB receiver invocation context |
EJBReceiverContext |
getEjbReceiverContext()
Get the associated EJB receiver 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 |
resultReady(EJBReceiverInvocationContext.ResultProducer resultProducer)
Indicate that the invocation result is ready.
|
public EJBReceiverContext getEjbReceiverContext()
public EJBClientInvocationContext getClientInvocationContext()
EJBClientInvocationContext
associated with this EJB receiver invocation contextpublic void proceedAsynchronously()
public void resultReady(EJBReceiverInvocationContext.ResultProducer resultProducer)
resultProducer
- the result producerpublic void requestCancelled()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.