org.bridj.ann
Annotation Type Library


@Retention(value=RUNTIME)
@Inherited
@Target(value={TYPE,METHOD,CONSTRUCTOR})
public @interface Library

Specify the name of the native library that should be bound to the class or method this annotation is put on.
This name can then be changed at runtime to match the platform-specific name of the library with @see org.bridj.BridJ#setNativeLibraryActualName(String, String).
Alternative aliases can also be added at runtime with @see org.bridj.BridJ#addNativeLibraryAlias(String, String).

Author:
Olivier Chafik

Required Element Summary
 String value
          Name of this library.
 
Optional Element Summary
 String[] dependencies
          Names of libraries that need to be loaded before this library is loaded
 String versionPattern
           
 

Element Detail

value

public abstract String value
Name of this library.

dependencies

public abstract String[] dependencies
Names of libraries that need to be loaded before this library is loaded

Default:
{}

versionPattern

public abstract String versionPattern
Default:
""


Copyright © 2009-2013. All Rights Reserved.