public class Version
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Version.Component
Represents an individual component
|
| 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
|
| 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
|
public static final java.lang.String COMPONENT_TYPE_COMMON_SERVICES
public static final java.lang.String COMPONENT_TYPE_PROVIDER
public static final java.lang.String WMQ_PROVIDER
public static final java.lang.String JAVA_MSG_SERVICE_CLIENT
public static final java.lang.String JSE_COMMON_SERVICES
public static final java.lang.String WMQ_JMS_CLASSES
public static final int COMPONENT_VERSION_INDEX
public static final int COMPONENT_RELEASE_INDEX
public static final int COMPONENT_MODIFICATION_INDEX
public static final int COMPONENT_FIX_INDEX
public static Version.Component[] getComponents()
public static Version.Component[] getComponents(java.lang.String type)
type - String constant of the typepublic static Version.Component[] getComponents(java.lang.String type, java.lang.String name)
type - String constant of the typename - the name of the component