SJTH gate, FIND_HIGHEST_VERSION function
The FIND_HIGHEST_VERSION function determines the highest semantic version of an OSGi bundle on zFS.
Input parameters
- JVMSERVER
- The name of a JVMSERVER resource.
- BUNDLE_DIR
- The root directory on zFS for the OSGi bundle.
- BUNDLE_NAME
- The name of the OSGi bundle.
- BUNDLE_VERSION_RANGE
- The version range string for the OSGi bundle.
- HIGHEST_VERSION
- The buffer to contain returned highest semantic version string.
Output parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- ATTACH_THREAD_FAILED
- CLASS_NOT_FOUND
- DETACH_THREAD_FAILED
- FIND_HIGHEST_VER_FAILED
- INTERNAL_ERROR
- INVALID_VERSION_RANGE
- JVMSERVER_ENABLING
- JVMSERVER_EXITING
- JVMSERVER_NOT_ENABLED
- JVMSERVER_NOT_FOUND
- METHOD_NOT_FOUND
- NO_BUNDLE_IN_RANGE
- NO_PTHREAD
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.