All Downloads are FREE. Search and download functionalities are using the official Maven repository.

arch.elasticsearch-native.8.15.5.source-code.module-info Maven / Gradle / Ivy

There is a newer version: 8.17.0
Show newest version
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0 and the Server Side Public License, v 1; you may not use this file except
 * in compliance with, at your election, the Elastic License 2.0 or the Server
 * Side Public License, v 1.
 */

import org.elasticsearch.jdk.ModuleQualifiedExportsService;
import org.elasticsearch.nativeaccess.exports.NativeAccessModuleExportsService;
import org.elasticsearch.nativeaccess.lib.NativeLibraryProvider;

module org.elasticsearch.nativeaccess {
    requires org.elasticsearch.base;
    requires org.elasticsearch.logging;
    requires java.management; // for access to heap size

    exports org.elasticsearch.nativeaccess
        to
            org.elasticsearch.nativeaccess.jna,
            org.elasticsearch.server,
            org.elasticsearch.simdvec,
            org.elasticsearch.systemd;
    // allows jna to implement a library provider, and ProviderLocator to load it
    exports org.elasticsearch.nativeaccess.lib to org.elasticsearch.nativeaccess.jna, org.elasticsearch.base;

    uses NativeLibraryProvider;

    // allows qualified exports from this module to modules not in the boot layer, ie jna
    exports org.elasticsearch.nativeaccess.exports to org.elasticsearch.base;

    provides ModuleQualifiedExportsService with NativeAccessModuleExportsService;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy