Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
    • Constructor Detail

      • LocalEjbReceiver

        public LocalEjbReceiver​(boolean allowPassByReference,
                                DeploymentRepository deploymentRepository)
    • Method Detail

      • 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