Class EJBSessionCreationInvocationContext


public final class EJBSessionCreationInvocationContext extends AbstractInvocationContext
The context object for handling explicit (not implicit) EJB 3.x stateful session bean creation. Implicit session creation will be done automatically upon stateless invocation of a stateful EJB.
Author:
David M. Lloyd
  • Method Details

    • proceed

      public SessionID proceed() throws Exception
      Proceed with the next interceptor in the chain, calling the resolved receiver in the end.
      Returns:
      the session ID (not null)
      Throws:
      Exception - if the EJB session creation failed for some reason
    • requestRetry

      public void requestRetry()
      Description copied from class: AbstractInvocationContext
      Request that the current operation be retried if possible.
      Specified by:
      requestRetry in class AbstractInvocationContext