FileDocCategorySizeDatePackage
ClientSession.javaAPI DocExample3107Tue May 29 16:56:42 BST 2007com.sun.xml.ws.rm.jaxws.runtime.client

ClientSession

public class ClientSession extends com.sun.xml.ws.rm.jaxws.runtime.Session
Client side implementation of Session, set in BindingProvider property. In addition to SessionID, ability to Terminate the underlying ClientOutboundSequence is exposed in the close method.

Fields Summary
private RMClientPipe
pipe
Constructors Summary
public ClientSession(String id, RMClientPipe pipe)

        super(id);
        this.pipe = pipe;
    
Methods Summary
public voidclose()

        if (pipe != null) {
            pipe.preDestroy();
        }
        pipe = null;
    
public static com.sun.xml.ws.rm.jaxws.runtime.client.ClientSessiongetSession(javax.xml.ws.BindingProvider proxy)

        return (ClientSession)proxy.getRequestContext().get("rmsession");
    
public static voidsetSession(javax.xml.ws.BindingProvider proxy, com.sun.xml.ws.rm.jaxws.runtime.client.ClientSession session)

        proxy.getRequestContext().put("rmsession", session);