Package org.jboss.ejb.client
Class EJBSessionCreationInvocationContext
- java.lang.Object
-
- org.jboss.ejb.client.Attachable
-
- org.jboss.ejb.client.AbstractInvocationContext
-
- org.jboss.ejb.client.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionID
proceed()
Proceed with the next interceptor in the chain, calling the resolved receiver in the end.void
requestRetry()
Request that the current operation be retried if possible.-
Methods inherited from class org.jboss.ejb.client.AbstractInvocationContext
getAuthenticationContext, getClientContext, getContextData, getDestination, getInitialCluster, getLocator, getTargetAffinity, getTransaction, getViewClass, getWeakAffinity, setDestination, setLocator, setTargetAffinity, setTransaction, setWeakAffinity
-
Methods inherited from class org.jboss.ejb.client.Attachable
getAttachment, getAttachments, putAttachment, putAttachmentIfAbsent, removeAttachment, removeAttachment, replaceAttachment, replaceAttachment
-
-
-
-
Method Detail
-
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 classAbstractInvocationContext
-
-