com.ibm.cics.server

Class API

  • java.lang.Object
    • com.ibm.cics.server.API
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static Version getCICSServerApiVersion()
      Gets the version of the com.ibm.cics.server java package which is being used currently.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCICSServerApiVersion

        public static Version getCICSServerApiVersion()
                                               throws CicsException
        Gets the version of the com.ibm.cics.server java package which is being used currently. The logic reads the manifest of the jar within which this code is packaged.
        Returns:
        A version object, detailing the version of the com.ibm.cics.server API being used.
        Throws:
        CicsException - The com.ibm.cics.server code is not packaged into a jar as expected, or the version of the com.ibm.cics.server package on the classpath could not be determined, possibly as a result of an I/O problem preventing the manifest of that jar being read and processed.
        Since CICS TS version:
        6.1
        Since package version:
        2.0.0