Class 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 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 class TdbSession