com.webmethods.caf.wsclient.session
Interface IWSClientSessionPool
- All Known Implementing Classes:
- WSClientSessionPool
public interface IWSClientSessionPool
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