code: private static int[] getFullJCAVersion(BootstrapContextImpl bootstrapContext) {
          int[] fullVersionIntArray = { 1, 5 }; // SIB and WMQ resource adapter "bundles" are compliant with JCA spec version 1.5
          // TODO Set the correct JCA Version on the MessageEndpointFactory. Currently hardcoding to 1.5
          ResourceAdapterMetaData raMetadata = bootstrapContext.getResourceAdapterMetaData();
          if (raMetadata != null) {
              ConnectorModuleMetaData connectorMetadata = (ConnectorModuleMetaData) raMetadata.getModuleMetaData();
              String fullVersionString = connectorMetadata.getSpecVersion();
              String[] fullVersionStrArray = fullVersionString.split("\\.");
              fullVersionIntArray[0] = Integer.valueOf(fullVersionStrArray[0]);
              fullVersionIntArray[1] = Integer.valueOf(fullVersionStrArray[1]);
          }
          return fullVersionIntArray;
      }
docs: Returns the JCA specification major and minor version with which the resource adapter declares support.
  
  @param bootstrapContext bootstrap context supplied to the resource adapter.
  @return the JCA specification version with which the resource adapter declares support.