|
JBoss EJB client 1.0.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb.client.EJBReceiverInvocationContext
public final class EJBReceiverInvocationContext
The context used for an EJB receiver to return the result of an invocation.
| Nested Class Summary | |
|---|---|
static interface |
EJBReceiverInvocationContext.ResultProducer
A result producer for invocation. |
| Method Summary | |
|---|---|
EJBClientInvocationContext |
getClientInvocationContext()
Returns the EJBClientInvocationContext associated with this EJB receiver invocation context |
EJBReceiverContext |
getEjbReceiverContext()
Get the associated EJB receiver context. |
String |
getNodeName()
Returns the node name of the receiver represented by this EJBReceiverInvocationContext |
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. |
void |
retryInvocation(boolean excludeCurrentReceiver)
Retry the current invocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public EJBReceiverContext getEjbReceiverContext()
public EJBClientInvocationContext getClientInvocationContext()
EJBClientInvocationContext associated with this EJB receiver invocation context
public void proceedAsynchronously()
public void resultReady(EJBReceiverInvocationContext.ResultProducer resultProducer)
resultProducer - the result producerpublic void requestCancelled()
public void retryInvocation(boolean excludeCurrentReceiver)
throws Exception
excludeCurrentReceiver - True if the EJBReceiver represented by this EJBReceiverInvocationContext
has to be excluded from being chosen for handling the retried invocation. False otherwise.
Exception - If the retried invocation runs into any exceptionpublic String getNodeName()
EJBReceiverInvocationContext
|
JBoss EJB client 1.0.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||