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
public class TdbPooledSession extends TdbSession
Contains a session within a session pool
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
login(java.lang.String username, java.lang.String password)
Invalid operation for a pooled sessionvoid
login(java.lang.String username, java.lang.String password, TdbLanguage language, boolean restart)
Invalid operation for a pooled sessionvoid
logout()
Returns the session to the pool for reusevoid
logout(boolean save)
Returns the session to the pool for reuse-
Methods inherited from class com.tietoenator.trip.jxp.session.TdbSession
authenticate, dateforms, enableNotification, enableNotification, fieldTypes, getActivityLog, getBackgroundTaskSink, getBuildNumber, getCharacterSet, getCharacterSetName, getCurrentDateform, getDateform, getDefaultQueueName, getFieldType, getFieldType, getNotificationSink, getPid, getRevisionNumber, getServerName, getSessionId, getSessionType, getSubsystemID, getSubsystemName, getUsername, getVersion, isConnected, isFileManager, isLicensedFor, isLoggedIn, isSystemManager, isTicketsEnabled, isUserManager, isWorking, licensedProducts, requestLoginTicket, revokeLoginTicket, setActivityLog, setBackgroundTaskSink, setNotificationSink, subsystemNames, supportsFeature, validate, writeActivityLog
-
Methods inherited from class com.tietoenator.trip.jxp.TdbMessageProvider
codeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessages
-
Methods inherited from class com.tietoenator.trip.jxp.session.TdbSessionObject
cancel, getSession, isCancelable, setCancelable
-
-
-
-
Method Detail
-
login
public void login(java.lang.String username, java.lang.String password) throws TdbException
Invalid operation for a pooled session- Overrides:
login
in classTdbSession
- Parameters:
username
- The TRIP username to usepassword
- The TRIP password to use- Throws:
TdbException
-
login
public void login(java.lang.String username, java.lang.String password, TdbLanguage language, boolean restart) throws TdbException
Invalid operation for a pooled session- Overrides:
login
in 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
-
logout
public void logout() throws TdbException
Returns the session to the pool for reuse- Overrides:
logout
in classTdbSession
- Throws:
TdbException
-
logout
public void logout(boolean save) throws TdbException
Returns the session to the pool for reuse- Overrides:
logout
in classTdbSession
- Parameters:
save
- This parameter is ignored for pooled sessions- Throws:
TdbException
-
-