public static class EJBReceiverInvocationContext.ResultProducer.Immediate extends Object implements EJBReceiverInvocationContext.ResultProducer
EJBReceiverInvocationContext.ResultProducer.Failed, EJBReceiverInvocationContext.ResultProducer.ImmediateNULL| Modifier and Type | Method and Description |
|---|---|
void |
discardResult()
Discard the result, indicating that it will not be used.
|
Object |
getResult()
Get the result.
|
public Immediate(Object result)
public Object getResult() throws Exception
EJBReceiverInvocationContext.ResultProducergetResult in interface EJBReceiverInvocationContext.ResultProducerException - if the result could not be acquired or the operation failedpublic void discardResult()
EJBReceiverInvocationContext.ResultProducerdiscardResult in interface EJBReceiverInvocationContext.ResultProducerCopyright © 2019 JBoss by Red Hat. All rights reserved.