Class RPCInOutAsyncMessageReceiver

  • All Implemented Interfaces:
    org.apache.axis2.engine.MessageReceiver

    public class RPCInOutAsyncMessageReceiver
    extends org.apache.axis2.receivers.AbstractMessageReceiver
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.axis2.receivers.AbstractMessageReceiver

        org.apache.axis2.receivers.AbstractMessageReceiver.AsyncMessageReceiverWorker
    • Field Summary

      • Fields inherited from class org.apache.axis2.receivers.AbstractMessageReceiver

        DO_ASYNC, SAVED_MC, SAVED_TCCL, SCOPE, serviceTCCL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void invokeBusinessLogic​(org.apache.axis2.context.MessageContext messageCtx)  
      void invokeBusinessLogic​(org.apache.axis2.context.MessageContext inMessage, org.apache.axis2.context.MessageContext outMessage)
      reflect and get the Java method - for each i'th param in the java method - get the first child's i'th child -if the elem has an xsi:type attr then find the deserializer for it - if not found, lookup deser for th i'th param (java type) - error if not found - deserialize & save in an object array - end for
      • Methods inherited from class org.apache.axis2.receivers.AbstractMessageReceiver

        getSOAPFactory, getTheImplementationObject, makeNewServiceObject, receive, replicateState, restoreThreadContext
    • Constructor Detail

      • RPCInOutAsyncMessageReceiver

        public RPCInOutAsyncMessageReceiver()
    • Method Detail

      • invokeBusinessLogic

        public void invokeBusinessLogic​(org.apache.axis2.context.MessageContext inMessage,
                                        org.apache.axis2.context.MessageContext outMessage)
                                 throws org.apache.axis2.AxisFault
        reflect and get the Java method - for each i'th param in the java method - get the first child's i'th child -if the elem has an xsi:type attr then find the deserializer for it - if not found, lookup deser for th i'th param (java type) - error if not found - deserialize & save in an object array - end for

        - invoke method and get the return value

        - look up serializer for return value based on the value and type

        - create response msg and add return value as grand child of

        Parameters:
        inMessage -
        outMessage -
        Throws:
        org.apache.axis2.AxisFault
      • invokeBusinessLogic

        protected void invokeBusinessLogic​(org.apache.axis2.context.MessageContext messageCtx)
                                    throws org.apache.axis2.AxisFault
        Specified by:
        invokeBusinessLogic in class org.apache.axis2.receivers.AbstractMessageReceiver
        Throws:
        org.apache.axis2.AxisFault