java.module.annotation
Annotation Type NativeLibraryPath


@Target(value={})
@Retention(value=RUNTIME)
public @interface NativeLibraryPath

Indicates the path relative to the root of the module archive for searching native libraries for a particular platform and architecture. This metadata annotation is used as nested annotation inside other enclosing annotations.

For example,

    @NativeLibraryPaths({
       @NativeLibraryPath(platform="windows", arch="x86", path="native/windows-x86"),
       @NativeLibraryPath(platform="linux", arch="x86", path="native/linux-x86"),
       @NativeLibraryPath(platform="solaris", arch="sparc", path="native/solaris-sparc"),
    })
    superpackage com.sun.java3d {
       ...
    }
 

Since:
1.7.0
Author:
Stanley M. Ho
See Also:
NativeLibraryPaths

Required Element Summary
 String arch
          Name of the architecture.
 String path
          The path relative to the root of the module archive for searching native library.
 String platform
          Name of the platform.
 

Element Detail

platform

public abstract String platform
Name of the platform. It should be one of the possible values of the system property "os.platform".


arch

public abstract String arch
Name of the architecture. It should be one of the possible values of the system property "os.arch".


path

public abstract String path
The path relative to the root of the module archive for searching native library.