Package org.jboss.ejb.client
Class EJBReceiverInvocationContext.ResultProducer.Immediate
- java.lang.Object
-
- org.jboss.ejb.client.EJBReceiverInvocationContext.ResultProducer.Immediate
-
- All Implemented Interfaces:
EJBReceiverInvocationContext.ResultProducer
- Enclosing interface:
- EJBReceiverInvocationContext.ResultProducer
public static class EJBReceiverInvocationContext.ResultProducer.Immediate extends Object implements EJBReceiverInvocationContext.ResultProducer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.ejb.client.EJBReceiverInvocationContext.ResultProducer
EJBReceiverInvocationContext.ResultProducer.Failed, EJBReceiverInvocationContext.ResultProducer.Immediate
-
-
Field Summary
-
Fields inherited from interface org.jboss.ejb.client.EJBReceiverInvocationContext.ResultProducer
NULL
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddiscardResult()Discard the result, indicating that it will not be used.ObjectgetResult()Get the result.
-
-
-
Constructor Detail
-
Immediate
public Immediate(Object result)
-
-
Method Detail
-
getResult
public Object getResult() throws Exception
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
-
discardResult
public void discardResult()
Description copied from interface:EJBReceiverInvocationContext.ResultProducerDiscard the result, indicating that it will not be used.- Specified by:
discardResultin interfaceEJBReceiverInvocationContext.ResultProducer
-
-