com.webmethods.caf.wsclient.session
Interface IWSClientSessionPool

All Known Implementing Classes:
WSClientSessionPool

public interface IWSClientSessionPool


Method Summary
 IWSClientSession createSession(IWSClientProxy clientProxy)
           
 AuthCredentials getAuthCredentials()
           
 String getHostURL()
          Get the target hostURL for this session pool NOTE: used for quick lookup of session pools that need to be invalidated if the web service endpoint beings throwing transport/connection errors
 IWSClientSession getSession(IWSClientProxy clientProxy)
           
 IWSClientSessionManager getSessionManager()
           
 List getSessions()
           
 void releaseSession(IWSClientSession session)
           
 void reset()
           
 void setAuthCredentials(AuthCredentials credentials)
           
 void setSessionManager(IWSClientSessionManager sessionManager)
           
 

Method Detail

getSession

IWSClientSession getSession(IWSClientProxy clientProxy)

releaseSession

void releaseSession(IWSClientSession session)

createSession

IWSClientSession createSession(IWSClientProxy clientProxy)

getSessions

List getSessions()

getSessionManager

IWSClientSessionManager getSessionManager()

setSessionManager

void setSessionManager(IWSClientSessionManager sessionManager)

reset

void reset()

getAuthCredentials

AuthCredentials getAuthCredentials()

setAuthCredentials

void setAuthCredentials(AuthCredentials credentials)

getHostURL

String getHostURL()
Get the target hostURL for this session pool NOTE: used for quick lookup of session pools that need to be invalidated if the web service endpoint beings throwing transport/connection errors

Returns:
the host URL that sessions in this pool are connecting to