Package org.jboss.ejb.client
Interface EJBReceiverInvocationContext.ResultProducer
- All Known Implementing Classes:
EJBReceiverInvocationContext.ResultProducer.Failed,EJBReceiverInvocationContext.ResultProducer.Immediate
- Enclosing class:
- EJBReceiverInvocationContext
public static interface EJBReceiverInvocationContext.ResultProducer
A result producer for invocation.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA result producer for failure cases.static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EJBReceiverInvocationContext.ResultProducerA result producer which produces anullreturn. -
Method Summary
Modifier and TypeMethodDescriptionvoidDiscard the result, indicating that it will not be used.Get the result.
-
Field Details
-
NULL
A result producer which produces anullreturn.
-
-
Method Details
-
getResult
Get the result.- Returns:
- the result
- Throws:
Exception- if the result could not be acquired or the operation failed
-
discardResult
void discardResult()Discard the result, indicating that it will not be used.
-