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.
  • Field Details

  • Method Details

    • getResult

      Object getResult() throws Exception
      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.