public abstract class AbstractService extends Object
Modifier and Type | Field and Description |
---|---|
protected static boolean |
configured
Indicates the correct configuration of the service.
|
Constructor and Description |
---|
AbstractService() |
Modifier and Type | Method and Description |
---|---|
protected void |
addToRequest(CloseablePooledSession closeablePooledSession)
Adds the given session to the request.
|
protected com.saperion.connector.SaClassicConnector |
getConnection(int token)
Retrieves the connection by the given token.
|
protected CloseablePooledSession |
getSession(int token)
Gets the session by the given token.
|
protected boolean |
isConfigured()
Indicates the correct configuration of this web service.
|
protected static boolean configured
protected com.saperion.connector.SaClassicConnector getConnection(int token) throws SaWsException
token
- The token to identify the corresponding connection.SaWsException
- if an authentication error occurs.protected void addToRequest(CloseablePooledSession closeablePooledSession)
closeablePooledSession
- the closable sessionprotected CloseablePooledSession getSession(int token) throws Exception
token
- the token to get the session for.Exception
- if an error occurs.protected boolean isConfigured()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.