Class EJBReceiverInvocationContext.ResultProducer.Failed
java.lang.Object
org.jboss.ejb.client.EJBReceiverInvocationContext.ResultProducer.Failed
- All Implemented Interfaces:
EJBReceiverInvocationContext.ResultProducer
- Enclosing interface:
EJBReceiverInvocationContext.ResultProducer
public static class EJBReceiverInvocationContext.ResultProducer.Failed
extends Object
implements EJBReceiverInvocationContext.ResultProducer
A result producer for failure cases.
- Author:
- David M. Lloyd
-
Nested Class Summary
Nested classes/interfaces inherited from interface EJBReceiverInvocationContext.ResultProducer
EJBReceiverInvocationContext.ResultProducer.Failed, EJBReceiverInvocationContext.ResultProducer.Immediate -
Field Summary
Fields inherited from interface EJBReceiverInvocationContext.ResultProducer
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDiscard the result, indicating that it will not be used.Get the exception supplier.Get the result.
-
Constructor Details
-
Failed
-
Failed
-
-
Method Details
-
getResult
Description copied from interface:EJBReceiverInvocationContext.ResultProducerGet the result.- Specified by:
getResultin interfaceEJBReceiverInvocationContext.ResultProducer- Returns:
- the result
- Throws:
Exception- if the result could not be acquired or the operation failed
-
getExceptionSupplier
-
discardResult
public void discardResult()Description copied from interface:EJBReceiverInvocationContext.ResultProducerDiscard the result, indicating that it will not be used.- Specified by:
discardResultin interfaceEJBReceiverInvocationContext.ResultProducer
-