View Javadoc

1   package org.springframework.ws.transport.context;
2   
3   import org.springframework.ws.transport.WebServiceConnection;
4   
5   /**
6    * Strategy interface for determining the current {@link org.springframework.ws.transport.WebServiceConnection}.
7    * <p/>
8    * An instance of this class can be associated with a thread via the {@link TransportContextHolder} class.
9    *
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  }