org.apache.axis2.receivers
Class RawXMLINOutMessageReceiver

java.lang.Object
  extended byorg.apache.axis2.receivers.AbstractMessageReceiver
      extended byorg.apache.axis2.receivers.AbstractInOutSyncMessageReceiver
          extended byorg.apache.axis2.receivers.RawXMLINOutMessageReceiver
All Implemented Interfaces:
MessageReceiver

public class RawXMLINOutMessageReceiver
extends AbstractInOutSyncMessageReceiver
implements MessageReceiver

The RawXMLINOutMessageReceiver MessageReceiver hands over the raw request received to the service implementation class as an OMElement. The implementation class is expected to return back the OMElement to be returned to the caller. This is a synchronous MessageReceiver, and finds the service implementation class to invoke by referring to the "ServiceClass" parameter value specified in the service.xml and looking at the methods of the form OMElement <>(OMElement request)

See Also:
RawXMLINOnlyMessageReceiver, RawXMLINOutAsyncMessageReceiver

Nested Class Summary
 
Nested classes inherited from class org.apache.axis2.receivers.AbstractMessageReceiver
AbstractMessageReceiver.ThreadContextDescriptor
 
Field Summary
 
Fields inherited from class org.apache.axis2.receivers.AbstractMessageReceiver
SAVED_MC, SAVED_TCCL, SCOPE, serviceTCCL
 
Constructor Summary
RawXMLINOutMessageReceiver()
           
 
Method Summary
 void invokeBusinessLogic(MessageContext msgContext, MessageContext newmsgContext)
          Invokes the bussiness logic invocation on the service implementation class
 
Methods inherited from class org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver
receive
 
Methods inherited from class org.apache.axis2.receivers.AbstractMessageReceiver
getSOAPFactory, getTheImplementationObject, makeNewServiceObject, restoreThreadContext, setThreadContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axis2.engine.MessageReceiver
receive
 

Constructor Detail

RawXMLINOutMessageReceiver

public RawXMLINOutMessageReceiver()
Method Detail

invokeBusinessLogic

public void invokeBusinessLogic(MessageContext msgContext,
                                MessageContext newmsgContext)
                         throws AxisFault
Invokes the bussiness logic invocation on the service implementation class

Specified by:
invokeBusinessLogic in class AbstractInOutSyncMessageReceiver
Parameters:
msgContext - the incoming message context
newmsgContext - the response message context
Throws:
AxisFault - on invalid method (wrong signature) or behaviour (return null)


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.