Package org.apache.axis2.receivers
Class RawXMLINOutMessageReceiver
java.lang.Object
org.apache.axis2.receivers.AbstractMessageReceiver
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver
org.apache.axis2.receivers.RawXMLINOutMessageReceiver
- All Implemented Interfaces:
MessageReceiver
- Direct Known Subclasses:
RawXMLINOutAsyncMessageReceiver
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 invalid input: '<'>(OMElement request)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.axis2.receivers.AbstractMessageReceiver
AbstractMessageReceiver.AsyncMessageReceiverWorker, AbstractMessageReceiver.ThreadContextDescriptor -
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 TypeMethodDescriptionvoidinvokeBusinessLogic(MessageContext msgContext, MessageContext newmsgContext) Invokes the bussiness logic invocation on the service implementation classMethods inherited from class org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver
invokeBusinessLogicMethods inherited from class org.apache.axis2.receivers.AbstractMessageReceiver
getSOAPFactory, getTheImplementationObject, makeNewServiceObject, receive, replicateState, restoreThreadContext, setThreadContextMethods 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- Specified by:
invokeBusinessLogicin classAbstractInOutSyncMessageReceiver- Parameters:
msgContext- the incoming message contextnewmsgContext- the response message context- Throws:
AxisFault- on invalid method (wrong signature) or behaviour (return null)
-