org.apache.axis2.receivers
Class AbstractMessageReceiver
java.lang.Object
org.apache.axis2.receivers.AbstractMessageReceiver
- All Implemented Interfaces:
- MessageReceiver
- Direct Known Subclasses:
- AbstractInMessageReceiver, AbstractInOutAsyncMessageReceiver, AbstractInOutSyncMessageReceiver, AbstractRobustInMessageReceiver
- public abstract class AbstractMessageReceiver
- extends Object
- implements MessageReceiver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCOPE
public static final String SCOPE
- See Also:
- Constant Field Values
serviceTCCL
protected String serviceTCCL
SAVED_TCCL
public static final String SAVED_TCCL
- See Also:
- Constant Field Values
SAVED_MC
public static final String SAVED_MC
- See Also:
- Constant Field Values
AbstractMessageReceiver
public AbstractMessageReceiver()
setThreadContext
protected AbstractMessageReceiver.ThreadContextDescriptor setThreadContext(MessageContext msgContext)
- Several pieces of information need to be available to the service
implementation class. For one, the ThreadContextClassLoader needs
to be correct, and for another we need to give the service code
access to the MessageContext (getCurrentContext()). So we toss these
things in TLS.
- Parameters:
msgContext
-
restoreThreadContext
protected void restoreThreadContext(AbstractMessageReceiver.ThreadContextDescriptor tc)
makeNewServiceObject
protected Object makeNewServiceObject(MessageContext msgContext)
throws AxisFault
- Method makeNewServiceObject.
- Parameters:
msgContext
-
- Returns:
- Returns Object.
- Throws:
AxisFault
getSOAPFactory
public org.apache.axiom.soap.SOAPFactory getSOAPFactory(MessageContext msgContext)
throws AxisFault
- Throws:
AxisFault
getTheImplementationObject
protected Object getTheImplementationObject(MessageContext msgContext)
throws AxisFault
- Method getTheImplementationObject.
- Parameters:
msgContext
-
- Returns:
- Returns Object.
- Throws:
AxisFault