com.ibm.msg.client.services

Class Version

  • java.lang.Object
    • com.ibm.msg.client.services.Version


  • public class Version
    extends java.lang.Object
    This class provides information about the version level of components within the client code.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  Version.Component
      Represents an individual component
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int COMPONENT_FIX_INDEX
      Index of version int[] which contains the fix part of VRMF formated version.
      static int COMPONENT_MODIFICATION_INDEX
      Index of version int[] which contains the modification part of VRMF formated version.
      static int COMPONENT_RELEASE_INDEX
      Index of version int[] which contains the release part of VRMF formated version.
      static java.lang.String COMPONENT_TYPE_COMMON_SERVICES
      Component type which implements the Common Services Interface.
      static java.lang.String COMPONENT_TYPE_PROVIDER
      Component type which implements a Messaging Provider
      static int COMPONENT_VERSION_INDEX
      Index of version int[] which contains the version part of VRMF formated version.
      static java.lang.String JAVA_MSG_SERVICE_CLIENT
      Component name of the Java Message Service Client
      static java.lang.String JSE_COMMON_SERVICES
      Component name of the Java SE Common Services component
      static java.lang.String WMQ_JMS_CLASSES
      Component name of the WebSphere MQ classes for JMS
      static java.lang.String WMQ_PROVIDER
      Component name of WebSphere MQ provider
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static Version.Component[] getComponents()
      Return all the components in the system
      static Version.Component[] getComponents(java.lang.String type)
      Return all the components of a given type
      static Version.Component[] getComponents(java.lang.String type, java.lang.String name)
      Return list of components of a given name and type This may well return multiple versions of a component if they are present
      • Methods inherited from class java.lang.Object

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

      • COMPONENT_TYPE_COMMON_SERVICES

        public static final java.lang.String COMPONENT_TYPE_COMMON_SERVICES
        Component type which implements the Common Services Interface.
        See Also:
        Constant Field Values
      • COMPONENT_TYPE_PROVIDER

        public static final java.lang.String COMPONENT_TYPE_PROVIDER
        Component type which implements a Messaging Provider
        See Also:
        Constant Field Values
      • WMQ_PROVIDER

        public static final java.lang.String WMQ_PROVIDER
        Component name of WebSphere MQ provider
        See Also:
        Constant Field Values
      • JAVA_MSG_SERVICE_CLIENT

        public static final java.lang.String JAVA_MSG_SERVICE_CLIENT
        Component name of the Java Message Service Client
        See Also:
        Constant Field Values
      • JSE_COMMON_SERVICES

        public static final java.lang.String JSE_COMMON_SERVICES
        Component name of the Java SE Common Services component
        See Also:
        Constant Field Values
      • WMQ_JMS_CLASSES

        public static final java.lang.String WMQ_JMS_CLASSES
        Component name of the WebSphere MQ classes for JMS
        See Also:
        Constant Field Values
      • COMPONENT_VERSION_INDEX

        public static final int COMPONENT_VERSION_INDEX
        Index of version int[] which contains the version part of VRMF formated version.
        See Also:
        Constant Field Values
      • COMPONENT_RELEASE_INDEX

        public static final int COMPONENT_RELEASE_INDEX
        Index of version int[] which contains the release part of VRMF formated version.
        See Also:
        Constant Field Values
      • COMPONENT_MODIFICATION_INDEX

        public static final int COMPONENT_MODIFICATION_INDEX
        Index of version int[] which contains the modification part of VRMF formated version.
        See Also:
        Constant Field Values
      • COMPONENT_FIX_INDEX

        public static final int COMPONENT_FIX_INDEX
        Index of version int[] which contains the fix part of VRMF formated version.
        See Also:
        Constant Field Values
    • Method Detail

      • getComponents

        public static Version.Component[] getComponents()
        Return all the components in the system
        Returns:
        Component array, null if there are no entries.
      • getComponents

        public static Version.Component[] getComponents(java.lang.String type)
        Return all the components of a given type
        Parameters:
        type - String constant of the type
        Returns:
        Component array, null if there are no entries
      • getComponents

        public static Version.Component[] getComponents(java.lang.String type,
                                        java.lang.String name)
        Return list of components of a given name and type This may well return multiple versions of a component if they are present
        Parameters:
        type - String constant of the type
        name - the name of the component
        Returns:
        Component object array, null if no entries are found.
(c) Copyright IBM Corp. 2008, 2015. All Rights Reserved.