Package com.tietoenator.trip.jxp.pool
Class TdbPooledSession
java.lang.Object
com.tietoenator.trip.jxp.session.TdbSessionObject
com.tietoenator.trip.jxp.TdbMessageProvider
com.tietoenator.trip.jxp.session.TdbSession
com.tietoenator.trip.jxp.pool.TdbPooledSession
- All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink
- Direct Known Subclasses:
TdbTripNetPooledSession,TdbWebPooledSession
Contains a session within a session pool
-
Method Summary
Modifier and TypeMethodDescriptionvoidInvalid operation for a pooled sessionvoidlogin(String username, String password, TdbLanguage language, boolean restart) Invalid operation for a pooled sessionvoidlogout()Returns the session to the pool for reusevoidlogout(boolean save) Returns the session to the pool for reuseMethods inherited from class com.tietoenator.trip.jxp.session.TdbSession
authenticate, dateforms, enableLogging, enableNotification, enableNotification, fieldTypes, getActivityLog, getApiKeyMode, getBackgroundTaskSink, getBuildNumber, getCharacterSet, getCharacterSetName, getControlCache, getCurrentDateform, getDateform, getDefaultQueueName, getDefinedViews, getFieldType, getFieldType, getJobResultSink, getNotificationSink, getPid, getRevisionNumber, getServerApiLog, getServerName, getServerXpiLog, getSessionId, getSessionType, getSubsystemID, getSubsystemName, getUsername, getVersion, hasLogCheckpoint, isApiLogEnabled, isConnected, isFileManager, isLicensedFor, isLoggedIn, isSystemManager, isTicketsEnabled, isTokensEnabled, isUserManager, isWorking, isXpiLogEnabled, licensedProducts, pollJobResults, refreshAccessToken, requestAccessToken, requestLoginTicket, revokeLoginTicket, revokeToken, revokeTokens, setActivityLog, setBackgroundTaskSink, setJobResultSink, setLogCheckpoint, setNotificationSink, subsystemNames, supportsFeature, validate, writeActivityLogMethods inherited from class com.tietoenator.trip.jxp.TdbMessageProvider
codeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessagesMethods inherited from class com.tietoenator.trip.jxp.session.TdbSessionObject
cancel, getSession, isCancelable, setCancelable
-
Method Details
-
login
Invalid operation for a pooled session- Overrides:
loginin classTdbSession- Parameters:
username- The TRIP username to usepassword- The TRIP password to use- Throws:
TdbException- See Also:
-
login
public void login(String username, String password, TdbLanguage language, boolean restart) throws TdbException Invalid operation for a pooled session- Overrides:
loginin classTdbSession- Parameters:
username- The TRIP username to usepassword- The TRIP password to use (this gets encrypted for transmission)language- The CCL language dialect to userestart- If set high, signal TRIP to attempt to restart from a previous session- Throws:
TdbException- See Also:
-
logout
Returns the session to the pool for reuse- Overrides:
logoutin classTdbSession- Throws:
TdbException
-
logout
Returns the session to the pool for reuse- Overrides:
logoutin classTdbSession- Parameters:
save- This parameter is ignored for pooled sessions- Throws:
TdbException
-