public static class EJBReceiverInvocationContext.ResultProducer.Immediate extends Object implements EJBReceiverInvocationContext.ResultProducer
EJBReceiverInvocationContext.ResultProducer.Failed, EJBReceiverInvocationContext.ResultProducer.Immediate
NULL
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.ResultProducer
getResult
in interface EJBReceiverInvocationContext.ResultProducer
Exception
- if the result could not be acquired or the operation failedpublic void discardResult()
EJBReceiverInvocationContext.ResultProducer
discardResult
in interface EJBReceiverInvocationContext.ResultProducer
Copyright © 2019 JBoss by Red Hat. All rights reserved.