Package org.apache.axis2.receivers
Class RawXMLINOutMessageReceiver
- java.lang.Object
-
- org.apache.axis2.receivers.AbstractMessageReceiver
-
- org.apache.axis2.receivers.RawXMLINOutMessageReceiver
-
- All Implemented Interfaces:
MessageReceiver
public class RawXMLINOutMessageReceiver extends AbstractMessageReceiver 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/interfaces inherited from class org.apache.axis2.receivers.AbstractMessageReceiver
AbstractMessageReceiver.AsyncMessageReceiverWorker
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.receivers.AbstractMessageReceiver
DO_ASYNC, log, SAVED_MC, SAVED_TCCL, SCOPE, serviceTCCL
-
-
Constructor Summary
Constructors Constructor Description RawXMLINOutMessageReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invokeBusinessLogic(MessageContext msgContext)
Do the actual work of the MessageReceiver.void
invokeBusinessLogic(MessageContext msgContext, MessageContext newmsgContext)
Invokes the bussiness logic invocation on the service implementation class-
Methods inherited from class org.apache.axis2.receivers.AbstractMessageReceiver
getSOAPFactory, getTheImplementationObject, makeNewServiceObject, receive, replicateState, restoreThreadContext
-
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
-
-
-
-
Method Detail
-
invokeBusinessLogic
public void invokeBusinessLogic(MessageContext msgContext, MessageContext newmsgContext) throws AxisFault
Invokes the bussiness logic invocation on the service implementation class- Parameters:
msgContext
- the incoming message contextnewmsgContext
- the response message context- Throws:
AxisFault
- on invalid method (wrong signature) or behaviour (return null)
-
invokeBusinessLogic
public final void invokeBusinessLogic(MessageContext msgContext) throws AxisFault
Description copied from class:AbstractMessageReceiver
Do the actual work of the MessageReceiver. Must be overridden by concrete subclasses.- Specified by:
invokeBusinessLogic
in classAbstractMessageReceiver
- Parameters:
msgContext
- active MessageContext- Throws:
AxisFault
- if a problem occurred
-
-