com.ibm.cics.server
Class API
- java.lang.Object
-
- com.ibm.cics.server.API
-
- Direct Known Subclasses:
- Application, AsyncServiceImpl, AttachInitiator, CertificateInfo, Channel, CICSFuture, Container, ContainerIterator, Conversation, Document, EnterRequest, Event, FileBrowse, HttpClientRequest, HttpClientResponse, HttpResponse, HttpSession, Resource, SynchronizationResource, Task, TcpipRequest, Terminal, WSAContext, WSAEpr
public abstract class API extends java.lang.Object
This is the base class for all JCICS classes that interact with CICS.
Note that method calls on JCICS objects must be made from the same thread that constructed them.
- Since CICS TS version:
- 1.3
- Since package version:
- 1.0.0
-
-
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.
-
-
-
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
-
-