Class LocalEjbReceiver

java.lang.Object
org.jboss.ejb.client.Attachable
org.jboss.ejb.client.EJBReceiver
org.jboss.as.ejb3.remote.LocalEjbReceiver

public class LocalEjbReceiver extends org.jboss.ejb.client.EJBReceiver
EJBReceiver for local same-VM invocations. This handles all invocations on remote interfaces within the server JVM.
Author:
Stuart Douglas, Tomasz Adamski
  • Constructor Summary

    Constructors
    Constructor
    Description
    LocalEjbReceiver(boolean allowPassByReference, DeploymentRepository deploymentRepository)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    cancelInvocation(org.jboss.ejb.client.EJBReceiverInvocationContext receiverContext, boolean cancelIfRunning)
     
    protected org.jboss.ejb.client.SessionID
    createSession(org.jboss.ejb.client.EJBReceiverSessionCreationContext receiverContext)
     
    protected void
    processInvocation(org.jboss.ejb.client.EJBReceiverInvocationContext receiverContext)
     

    Methods inherited from class org.jboss.ejb.client.EJBReceiver

    getSourceAddress, isConnected

    Methods inherited from class org.jboss.ejb.client.Attachable

    getAttachment, getAttachments, putAttachment, putAttachmentIfAbsent, removeAttachment, removeAttachment, replaceAttachment, replaceAttachment

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LocalEjbReceiver

      public LocalEjbReceiver(boolean allowPassByReference, DeploymentRepository deploymentRepository)
  • Method Details

    • processInvocation

      protected void processInvocation(org.jboss.ejb.client.EJBReceiverInvocationContext receiverContext)
      Specified by:
      processInvocation in class org.jboss.ejb.client.EJBReceiver
    • cancelInvocation

      protected boolean cancelInvocation(org.jboss.ejb.client.EJBReceiverInvocationContext receiverContext, boolean cancelIfRunning)
      Overrides:
      cancelInvocation in class org.jboss.ejb.client.EJBReceiver
    • createSession

      protected org.jboss.ejb.client.SessionID createSession(org.jboss.ejb.client.EJBReceiverSessionCreationContext receiverContext) throws Exception
      Overrides:
      createSession in class org.jboss.ejb.client.EJBReceiver
      Throws:
      Exception