An 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.
com.jogamp.common.os.DynamicLookupHelper
to reset
the com.jogamp.gluegen.runtime.ProcAddressTable .NativeLibrary's open methodGlue native libraryGetProcAddress. (optional)| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | DynamicLibraryBundle.
Inherit access |
| Modifier and Type | Field and Description |
|---|---|
| private final DynamicLinker | |
| private final boolean[] | |
| private int | |
| private final List | |
| private final DynamicLibraryBundleInfo | |
| protected final List | |
| private boolean | |
| private final List | |
| private HashSet | |
| private long | |
| private final boolean[] | |
| private int | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | DynamicLibraryBundle(final DynamicLibraryBundleInfo info)
Instantiates and loads all |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public final void | |
| public final long | dynamicLookupFunction(final String funcName)
Implements com. |
| private final long | |
| public final DynamicLibraryBundleInfo | |
| public static RunnableExecutor | getDefaultRunnableExecutor()
Returns an AWT-EDT |
| public final int | |
| public final int | |
| protected final long | |
| public final int | |
| public final int | |
| public final boolean | isFunctionAvailable(final String funcName)
Implements com. |
| public final boolean | Returns: true if the last entry has been loaded, while ignoring the preload dependencies. Otherwise false.
|
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| protected static final NativeLibrary | |
| pack-priv final DynamicLinker | |
| public final void | |
| private final long |
| dynLinkGlobal | back to summary |
|---|---|
| private final DynamicLinker dynLinkGlobal | |
| glueLibLoaded | back to summary |
|---|---|
| private final boolean[] glueLibLoaded | |
| glueLibLoadedNumber | back to summary |
|---|---|
| private int glueLibLoadedNumber | |
| glueLibNames | back to summary |
|---|---|
| private final List<String> glueLibNames | |
| info | back to summary |
|---|---|
| private final DynamicLibraryBundleInfo info | |
| nativeLibraries | back to summary |
|---|---|
| protected final List<NativeLibrary> nativeLibraries | |
| toolGetProcAddressComplete | back to summary |
|---|---|
| private boolean toolGetProcAddressComplete | |
| toolGetProcAddressFuncNameList | back to summary |
|---|---|
| private final List<String> toolGetProcAddressFuncNameList | |
| toolGetProcAddressFuncNameSet | back to summary |
|---|---|
| private HashSet<String> toolGetProcAddressFuncNameSet | |
| toolGetProcAddressHandle | back to summary |
|---|---|
| private long toolGetProcAddressHandle | |
| toolLibLoaded | back to summary |
|---|---|
| private final boolean[] toolLibLoaded | |
| toolLibLoadedNumber | back to summary |
|---|---|
| private int toolLibLoadedNumber | |
| toolLibNames | back to summary |
|---|---|
| private final List<List<String>> toolLibNames | |
| DynamicLibraryBundle | back to summary |
|---|---|
| public DynamicLibraryBundle(final DynamicLibraryBundleInfo info) Instantiates and loads all
The ClassLoader of the | |
| claimAllLinkPermission | back to summary |
|---|---|
| public final void claimAllLinkPermission() throws SecurityException Implements com.
| |
| destroy | back to summary |
|---|---|
| public final void destroy() Unload all | |
| dynamicLookupFunction | back to summary |
|---|---|
| public final long dynamicLookupFunction(final String funcName) throws SecurityException Implements com. Doc from com. Returns the function handle for function 'funcName'.
| |
| dynamicLookupFunctionOnLibs | back to summary |
|---|---|
private final long dynamicLookupFunctionOnLibs(final String funcName) throws SecurityException
| |
| getBundleInfo | back to summary |
|---|---|
| public final DynamicLibraryBundleInfo getBundleInfo() | |
| getDefaultRunnableExecutor | back to summary |
|---|---|
| public static RunnableExecutor getDefaultRunnableExecutor() Returns an AWT-EDT | |
| getGlueLibLoadedNumber | back to summary |
|---|---|
| public final int getGlueLibLoadedNumber() | |
| getGlueLibNumber | back to summary |
|---|---|
| public final int getGlueLibNumber() | |
| getToolGetProcAddressHandle | back to summary |
|---|---|
| protected final long getToolGetProcAddressHandle() throws SecurityException | |
| getToolLibLoadedNumber | back to summary |
|---|---|
| public final int getToolLibLoadedNumber() | |
| getToolLibNumber | back to summary |
|---|---|
| public final int getToolLibNumber() | |
| isFunctionAvailable | back to summary |
|---|---|
| public final boolean isFunctionAvailable(final String funcName) throws SecurityException Implements com. Doc from com. Queries whether function 'funcName' is available.
| |
| isGlueLibComplete | back to summary |
|---|---|
public final boolean isGlueLibComplete()
| |
| isGlueLibLoaded | back to summary |
|---|---|
| public final boolean isGlueLibLoaded(final int i) | |
| isLibComplete | back to summary |
|---|---|
| public final boolean isLibComplete() | |
| isToolLibComplete | back to summary |
|---|---|
public final boolean isToolLibComplete()
| |
| isToolLibLoaded | back to summary |
|---|---|
| public final boolean isToolLibLoaded() | |
| isToolLibLoaded | back to summary |
|---|---|
| public final boolean isToolLibLoaded(final int i) | |
| loadFirstAvailable | back to summary |
|---|---|
| protected static final NativeLibrary loadFirstAvailable(final List<String> libNames, final ClassLoader loader, final boolean global) throws SecurityException | |
| loadLibraries | back to summary |
|---|---|
| pack-priv final DynamicLinker loadLibraries() throws SecurityException | |
| releaseAllLinkPermission | back to summary |
|---|---|
| public final void releaseAllLinkPermission() throws SecurityException Implements com.
| |
| toolDynamicLookupFunction | back to summary |
|---|---|
| private final long toolDynamicLookupFunction(final String funcName) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected static synchronized boolean | loadLibrary(final String
the library to load libname, final boolean if true, errors during loading the library should be ignored ignoreError, final ClassLoader optional ClassLoader, used to locate the library cl)Hides com. LoaderAction set by setLoadingAction(LoaderAction).
|
| GlueJNILibLoader | back to summary |
|---|---|
| pack-priv GlueJNILibLoader() | |
| loadLibrary | back to summary |
|---|---|
| protected static synchronized boolean loadLibrary(final String libname, final boolean ignoreError, final ClassLoader cl) Hides com. Doc from com. Loads the library specified by libname, using the
| |