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
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
Modifier and TypeMethodDescriptionproceed()Proceed with the next interceptor in the chain, calling the resolved receiver in the end.voidRequest 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, setWeakAffinityMethods inherited from class org.jboss.ejb.client.Attachable
getAttachment, getAttachments, putAttachment, putAttachmentIfAbsent, removeAttachment, removeAttachment, replaceAttachment, replaceAttachment
-
Method Details
-
proceed
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:AbstractInvocationContextRequest that the current operation be retried if possible.- Specified by:
requestRetryin classAbstractInvocationContext
-