Package org.apache.axis2.classloader
Class ThreadContextDescriptor
java.lang.Object
org.apache.axis2.classloader.ThreadContextDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetOldClassLoader(ClassLoader oldClassLoader) voidsetOldMessageContext(MessageContext oldMessageContext) static ThreadContextDescriptorsetThreadContext(MessageContext msgContext) Several pieces of information need to be available to the service implementation class.static ThreadContextDescriptorsetThreadContext(AxisService service)
-
Constructor Details
-
ThreadContextDescriptor
public ThreadContextDescriptor()
-
-
Method Details
-
getOldClassLoader
-
setOldClassLoader
-
getOldMessageContext
-
setOldMessageContext
-
setThreadContext
-
setThreadContext
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- the current MessageContext- Returns:
- a ThreadContextDescriptor containing the old values
-