Package com.tietoenator.trip.jxp.session
Class TdbLocalSession
- java.lang.Object
-
- com.tietoenator.trip.jxp.session.TdbSessionObject
-
- com.tietoenator.trip.jxp.TdbMessageProvider
-
- com.tietoenator.trip.jxp.session.TdbSession
-
- com.tietoenator.trip.jxp.session.TdbLocalSession
-
- All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink
public class TdbLocalSession extends TdbSession
A session type for direct local connections via JNI linkage. This session type requires that the tripjxp_local.jar file is on the class path and that its associated native library (jxplocal.dll or libjxplocal.so, depending on platform) is on the library path or specified using the system property java.library.path.
-
-
Constructor Summary
Constructors Constructor Description TdbLocalSession()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getServerName()
The name of the TRIP server that the session is connected to.-
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, getSessionId, getSessionType, getSubsystemID, getSubsystemName, getUsername, getVersion, isConnected, isFileManager, isLicensedFor, isLoggedIn, isSystemManager, isTicketsEnabled, isUserManager, isWorking, licensedProducts, login, login, logout, logout, 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
-
-
-
-
Constructor Detail
-
TdbLocalSession
public TdbLocalSession() throws TdbException
Constructor- Throws:
TdbException
- If the JXP local classes or the JNI library could not be loaded.
-
-
Method Detail
-
getServerName
public java.lang.String getServerName()
The name of the TRIP server that the session is connected to. This method always returns "localhost", the standard hostname for the loopback network interface.- Overrides:
getServerName
in classTdbSession
-
-