Save This Page
Home » axis2-1.5-src » org.apache.axis2.rpc » receivers » [javadoc | source]
org.apache.axis2.rpc.receivers
public class: RPCMessageReceiver [javadoc | source]
java.lang.Object
   org.apache.axis2.receivers.AbstractMessageReceiver
      org.apache.axis2.receivers.AbstractInOutMessageReceiver
         org.apache.axis2.rpc.receivers.RPCMessageReceiver

All Implemented Interfaces:
    MessageReceiver

Direct Known Subclasses:
    EJBMessageReceiver, EJBInOutAsyncMessageReceiver

Fields inherited from org.apache.axis2.receivers.AbstractMessageReceiver:
log,  SCOPE,  serviceTCCL,  SAVED_TCCL,  SAVED_MC,  DO_ASYNC
Method from org.apache.axis2.rpc.receivers.RPCMessageReceiver Summary:
invokeBusinessLogic
Methods from org.apache.axis2.receivers.AbstractInOutMessageReceiver:
invokeBusinessLogic,   invokeBusinessLogic
Methods from org.apache.axis2.receivers.AbstractMessageReceiver:
getSOAPFactory,   getTheImplementationObject,   invokeBusinessLogic,   makeNewServiceObject,   receive,   replicateState,   restoreThreadContext,   setThreadContext
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.axis2.rpc.receivers.RPCMessageReceiver Detail:
 public  void invokeBusinessLogic(MessageContext inMessage,
    MessageContext outMessage) throws 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