diff options
author | Sven Gothel <[email protected]> | 2012-05-04 03:38:38 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-05-04 03:38:38 +0200 |
commit | 3b815b7e5af2fb6f771880dba74863d4f40b638f (patch) | |
tree | 5d8c2079caa6b91bf4f6a047c9f92dbb86d53ba6 /src/java/com/jogamp/common/os/DynamicLibraryBundle.java | |
parent | 389035210e6fc7742a2a11575c7bbfc8f08987a5 (diff) |
DynamicLibraryBundle: API doc refinement, mention the ClassLoader role.
Diffstat (limited to 'src/java/com/jogamp/common/os/DynamicLibraryBundle.java')
-rwxr-xr-x | src/java/com/jogamp/common/os/DynamicLibraryBundle.java | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/os/DynamicLibraryBundle.java b/src/java/com/jogamp/common/os/DynamicLibraryBundle.java index 427f522..f0f1765 100755 --- a/src/java/com/jogamp/common/os/DynamicLibraryBundle.java +++ b/src/java/com/jogamp/common/os/DynamicLibraryBundle.java @@ -44,7 +44,12 @@ import com.jogamp.common.util.RunnableExecutor; * <ul> * <li>The to-be-glued native library, eg OpenGL32.dll. From here on this is referred as the Tool.</li> * <li>The JNI glue-code native library, eg jogl_desktop.dll. From here on this is referred as the Glue</li> - * </ul><br> + * </ul> + * <p> + * An {@link DynamicLibraryBundleInfo} instance is being passed in the constructor, + * providing the required information about the tool and glue libraries. + * The ClassLoader of it's implementation is also being used to help locating the native libraries. + * </p> * An instance provides a complete {@link com.jogamp.common.os.DynamicLookupHelper} * to {@link com.jogamp.gluegen.runtime.ProcAddressTable#reset(com.jogamp.common.os.DynamicLookupHelper) reset} * the {@link com.jogamp.gluegen.runtime.ProcAddressTable}.<br> @@ -84,7 +89,13 @@ public class DynamicLibraryBundle implements DynamicLookupHelper { } } - /** Instantiates and loads all {@link NativeLibrary}s incl. JNI libraries. */ + /** + * Instantiates and loads all {@link NativeLibrary}s incl. JNI libraries. + * <p> + * The ClassLoader of the {@link DynamicLibraryBundleInfo} implementation class + * is being used to help locating the native libraries. + * </p> + */ public DynamicLibraryBundle(DynamicLibraryBundleInfo info) { if(null==info) { throw new RuntimeException("Null DynamicLibraryBundleInfo"); |