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 java.lang.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 java.lang.String SCOPE
- See Also:
- Constant Field Values
serviceTCCL
protected java.lang.String serviceTCCL
SAVED_TCCL
public static final java.lang.String SAVED_TCCL
- See Also:
- Constant Field Values
SAVED_MC
public static final java.lang.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 java.lang.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 java.lang.Object getTheImplementationObject(MessageContext msgContext)
throws AxisFault
- Method getTheImplementationObject.
- Parameters:
msgContext
-
- Returns:
- Returns Object.
- Throws:
AxisFault
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.