Package org.apache.axis2.receivers
Class RawXMLINOutMessageReceiver
java.lang.Object
org.apache.axis2.receivers.AbstractMessageReceiver
org.apache.axis2.receivers.RawXMLINOutMessageReceiver
- All Implemented Interfaces:
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:
-
RawXMLINOnlyMessageReceiverRawXMLINOutAsyncMessageReceiver
-
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 -
Method Summary
Modifier and TypeMethodDescriptionfinal voidinvokeBusinessLogic(MessageContext msgContext) Do the actual work of the MessageReceiver.voidinvokeBusinessLogic(MessageContext msgContext, MessageContext newmsgContext) Invokes the bussiness logic invocation on the service implementation classMethods inherited from class org.apache.axis2.receivers.AbstractMessageReceiver
getSOAPFactory, getTheImplementationObject, makeNewServiceObject, receive, replicateState, restoreThreadContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axis2.engine.MessageReceiver
receive
-
Constructor Details
-
RawXMLINOutMessageReceiver
public RawXMLINOutMessageReceiver()
-
-
Method Details
-
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
Description copied from class:AbstractMessageReceiverDo the actual work of the MessageReceiver. Must be overridden by concrete subclasses.- Specified by:
invokeBusinessLogicin classAbstractMessageReceiver- Parameters:
msgContext- active MessageContext- Throws:
AxisFault- if a problem occurred
-