|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Provides bundling of:
More...
Classes | |
| class | GlueJNILibLoader |
| Inherit access. | |
Public Member Functions | |
| DynamicLibraryBundle (final DynamicLibraryBundleInfo info) | |
Instantiates and loads all NativeLibrarys incl. More... | |
| final void | destroy () |
Unload all NativeLibrarys, and remove all references. More... | |
| final boolean | isLibComplete () |
| final int | getToolLibNumber () |
| final int | getToolLibLoadedNumber () |
| final boolean | isToolLibComplete () |
| final boolean | isToolLibLoaded () |
| final boolean | isToolLibLoaded (final int i) |
| final boolean | isOpen () |
| Returns true if library is loaded and open, otherwise false. More... | |
| final List< NativeLibrary > | getToolLibraries () |
Returns list of NativeLibrarys for each DynamicLibraryBundleInfo#getToolLibNames() in the same size and order. More... | |
| final NativeLibrary | getToolLibrary (final int i) |
Returns NativeLibrary at given index of all DynamicLibraryBundleInfo#getToolLibNames() in the same size and order. More... | |
| final int | getGlueLibNumber () |
| final int | getGlueLibLoadedNumber () |
| final boolean | isGlueLibComplete () |
| final boolean | isGlueLibLoaded (final int i) |
| final DynamicLibraryBundleInfo | getBundleInfo () |
| final long | getToolGetProcAddressHandle () |
| final void | claimAllLinkPermission () throws SecurityException |
| final void | releaseAllLinkPermission () throws SecurityException |
| final long | dynamicLookupFunction (final String funcName) throws SecurityException |
| Returns the function handle for function 'funcName'. More... | |
| final boolean | isFunctionAvailable (final String funcName) throws SecurityException |
| Queries whether function 'funcName' is available. More... | |
| void | claimAllLinkPermission () throws SecurityException |
| void | releaseAllLinkPermission () throws SecurityException |
| boolean | isOpen () |
| Returns true if library is loaded and open, otherwise false. More... | |
| long | dynamicLookupFunction (String funcName) throws SecurityException |
| Returns the function handle for function 'funcName'. More... | |
| boolean | isFunctionAvailable (String funcName) throws SecurityException |
| Queries whether function 'funcName' is available. More... | |
Static Public Member Functions | |
| static RunnableExecutor | getDefaultRunnableExecutor () |
Returns an AWT-EDT RunnableExecutor implementation if AWT is available, otherwise RunnableExecutor#currentThreadExecutor. More... | |
Protected Member Functions | |
| final long | retrieveToolGetProcAddressHandle () throws SecurityException |
Static Protected Member Functions | |
| static final NativeLibrary | loadFirstAvailable (final List< String > libNames, final boolean searchOSSystemPath, final boolean searchSystemPathFirst, final ClassLoader loader, final boolean global, final String symbolName) throws SecurityException |
Protected Attributes | |
| final List< NativeLibrary > | toolLibraries |
Additional Inherited Members | |
Static Public Attributes inherited from com.jogamp.common.os.DynamicLookupHelper | |
| static final boolean | DEBUG = Debug.debug("NativeLibrary") |
| static final boolean | DEBUG_LOOKUP = Debug.debug("NativeLibrary.Lookup") |
Provides bundling of:
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.
An instance provides a complete com.jogamp.common.os.DynamicLookupHelper to reset the com.jogamp.gluegen.runtime.ProcAddressTable.
At construction, it:
NativeLibrary's open method Glue native library GetProcAddress. (optional) Definition at line 61 of file DynamicLibraryBundle.java.
| com.jogamp.common.os.DynamicLibraryBundle.DynamicLibraryBundle | ( | final DynamicLibraryBundleInfo | info | ) |
Instantiates and loads all NativeLibrarys incl.
JNI libraries.
The ClassLoader of the DynamicLibraryBundleInfo implementation class is being used to help locating the native libraries.
Definition at line 93 of file DynamicLibraryBundle.java.
| final void com.jogamp.common.os.DynamicLibraryBundle.claimAllLinkPermission | ( | ) | throws SecurityException |
| SecurityException | if user is not granted access for the library set. |
Implements com.jogamp.common.os.DynamicLookupHelper.
Definition at line 414 of file DynamicLibraryBundle.java.
| final void com.jogamp.common.os.DynamicLibraryBundle.destroy | ( | ) |
Unload all NativeLibrarys, and remove all references.
Definition at line 159 of file DynamicLibraryBundle.java.
| final long com.jogamp.common.os.DynamicLibraryBundle.dynamicLookupFunction | ( | final String | funcName | ) | throws SecurityException |
Returns the function handle for function 'funcName'.
| SecurityException | if user is not granted access for the library set. |
Implements com.jogamp.common.os.DynamicLookupHelper.
Definition at line 433 of file DynamicLibraryBundle.java.
| final DynamicLibraryBundleInfo com.jogamp.common.os.DynamicLibraryBundle.getBundleInfo | ( | ) |
Definition at line 262 of file DynamicLibraryBundle.java.
|
static |
Returns an AWT-EDT RunnableExecutor implementation if AWT is available, otherwise RunnableExecutor#currentThreadExecutor.
Definition at line 82 of file DynamicLibraryBundle.java.
| final int com.jogamp.common.os.DynamicLibraryBundle.getGlueLibLoadedNumber | ( | ) |
Definition at line 240 of file DynamicLibraryBundle.java.
| final int com.jogamp.common.os.DynamicLibraryBundle.getGlueLibNumber | ( | ) |
Definition at line 236 of file DynamicLibraryBundle.java.
| final long com.jogamp.common.os.DynamicLibraryBundle.getToolGetProcAddressHandle | ( | ) |
Definition at line 264 of file DynamicLibraryBundle.java.
| final int com.jogamp.common.os.DynamicLibraryBundle.getToolLibLoadedNumber | ( | ) |
Definition at line 188 of file DynamicLibraryBundle.java.
| final int com.jogamp.common.os.DynamicLibraryBundle.getToolLibNumber | ( | ) |
Definition at line 184 of file DynamicLibraryBundle.java.
| final List< NativeLibrary > com.jogamp.common.os.DynamicLibraryBundle.getToolLibraries | ( | ) |
Returns list of NativeLibrarys for each DynamicLibraryBundleInfo#getToolLibNames() in the same size and order.
May contain elements with null for not loaded libs.
Definition at line 223 of file DynamicLibraryBundle.java.
| final NativeLibrary com.jogamp.common.os.DynamicLibraryBundle.getToolLibrary | ( | final int | i | ) |
Returns NativeLibrary at given index of all DynamicLibraryBundleInfo#getToolLibNames() in the same size and order.
May return null if not loaded.
Definition at line 229 of file DynamicLibraryBundle.java.
| final boolean com.jogamp.common.os.DynamicLibraryBundle.isFunctionAvailable | ( | final String | funcName | ) | throws SecurityException |
Queries whether function 'funcName' is available.
| SecurityException | if user is not granted access for the library set. |
Implements com.jogamp.common.os.DynamicLookupHelper.
Definition at line 461 of file DynamicLibraryBundle.java.
| final boolean com.jogamp.common.os.DynamicLibraryBundle.isGlueLibComplete | ( | ) |
Definition at line 251 of file DynamicLibraryBundle.java.
| final boolean com.jogamp.common.os.DynamicLibraryBundle.isGlueLibLoaded | ( | final int | i | ) |
Definition at line 255 of file DynamicLibraryBundle.java.
| final boolean com.jogamp.common.os.DynamicLibraryBundle.isLibComplete | ( | ) |
Definition at line 180 of file DynamicLibraryBundle.java.
| final boolean com.jogamp.common.os.DynamicLibraryBundle.isOpen | ( | ) |
Returns true if library is loaded and open, otherwise false.
Implements com.jogamp.common.os.DynamicLookupHelper.
Definition at line 217 of file DynamicLibraryBundle.java.
| final boolean com.jogamp.common.os.DynamicLibraryBundle.isToolLibComplete | ( | ) |
Definition at line 198 of file DynamicLibraryBundle.java.
| final boolean com.jogamp.common.os.DynamicLibraryBundle.isToolLibLoaded | ( | ) |
Definition at line 205 of file DynamicLibraryBundle.java.
| final boolean com.jogamp.common.os.DynamicLibraryBundle.isToolLibLoaded | ( | final int | i | ) |
Definition at line 209 of file DynamicLibraryBundle.java.
|
staticprotected |
| final void com.jogamp.common.os.DynamicLibraryBundle.releaseAllLinkPermission | ( | ) | throws SecurityException |
| SecurityException | if user is not granted access for the library set. |
Implements com.jogamp.common.os.DynamicLookupHelper.
Definition at line 423 of file DynamicLibraryBundle.java.
|
protected |
Definition at line 266 of file DynamicLibraryBundle.java.
|
protected |
Definition at line 65 of file DynamicLibraryBundle.java.