org.springframework.ws.transport.context
Class TransportContextHolder
java.lang.Object
org.springframework.ws.transport.context.TransportContextHolder
public abstract class TransportContextHolder
- extends Object
Simple holder class that associates a TransportContext
instance with the current thread. The
TransportContext
will be inherited by any child threads spawned by the current thread.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
TransportContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportContextHolder
public TransportContextHolder()
setTransportContext
public static void setTransportContext(TransportContext transportContext)
- Associate the given
TransportContext
with the current thread.
- Parameters:
transportContext
- the current transport context, or null
to reset the thread-bound context
getTransportContext
public static TransportContext getTransportContext()
- Return the
TransportContext
associated with the current thread, if any.
- Returns:
- the current transport context, or
null
if none
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.