01: package org.springframework.ws.transport.context;
02:
03: import org.springframework.ws.transport.WebServiceConnection;
04:
05: /**
06: * Strategy interface for determining the current {@link org.springframework.ws.transport.WebServiceConnection}.
07: * <p/>
08: * An instance of this class can be associated with a thread via the {@link TransportContextHolder} class.
09: *
10: * @author Arjen Poutsma
11: * @since 1.0.0
12: */
13: public interface TransportContext {
14:
15: /** Returns the current <code>WebServiceConnection</code>. */
16: WebServiceConnection getConnection();
17: }
|