java.module.annotation
Annotation Type NativeLibraryPaths


@Target(value={SUPERPACKAGE,TYPE})
@Retention(value=RUNTIME)
public @interface NativeLibraryPaths

Indicates the paths relative to the root of the module archive for searching native libraries for different platforms and architectures. This metadata annotation is applied to the development module, i.e. the superpackage construct.

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:
NativeLibraryPath

Required Element Summary
 NativeLibraryPath[] value
          Array of paths within the module archive for searching native libraries for different platforms and architectures.
 

Element Detail

value

public abstract NativeLibraryPath[] value
Array of paths within the module archive for searching native libraries for different platforms and architectures. .