|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Public Member Functions | |
| boolean | searchToolLibInSystemPath () |
Returns true if tool libraries shall be searched in the system path (default), otherwise false. More... | |
| boolean | searchToolLibSystemPathFirst () |
Returns true if system path shall be searched first (default), rather than searching it last. More... | |
| List< List< String > > | getToolLibNames () |
If a SecurityManager is installed, user needs link permissions for the named libraries. More... | |
| List< String > | getSymbolForToolLibPath () |
Returns optional list of optional symbol names per getToolLibNames() in same order for an OS which requires the symbol's address to retrieve the path of the containing library. More... | |
| List< String > | getGlueLibNames () |
If a SecurityManager is installed, user needs link permissions for the named libraries. More... | |
| List< String > | getToolGetProcAddressFuncNameList () |
| May return the native libraries. More... | |
| long | toolGetProcAddress (long toolGetProcAddressHandle, String funcName) |
| May implement the lookup function using the Tools facility. More... | |
| boolean | useToolGetProcAdressFirst (String funcName) |
| boolean | shallLinkGlobal () |
| boolean | shallLookupGlobal () |
If method returns true and if a SecurityManager is installed, user needs link permissions for all libraries, i.e. More... | |
| RunnableExecutor | getLibLoaderExecutor () |
Returns a suitable RunnableExecutor implementation, which is being used to load the tool and glue native libraries. More... | |
Static Public Attributes | |
| static final boolean | DEBUG = DynamicLibraryBundle.DEBUG |
Definition at line 36 of file DynamicLibraryBundleInfo.java.
| List< String > com.jogamp.common.os.DynamicLibraryBundleInfo.getGlueLibNames | ( | ) |
If a SecurityManager is installed, user needs link permissions for the named libraries.
Implemented in com.jogamp.gluegen.test.junit.generation.Test1p2DynamicLibraryBundle.Test1DynLibBundleInfo.
| RunnableExecutor com.jogamp.common.os.DynamicLibraryBundleInfo.getLibLoaderExecutor | ( | ) |
Returns a suitable RunnableExecutor implementation, which is being used to load the tool and glue native libraries.
This allows the generic DynamicLibraryBundle implementation to load the native libraries on a designated thread.
An implementation may return DynamicLibraryBundle#getDefaultRunnableExecutor().
Implemented in com.jogamp.gluegen.test.junit.generation.Test1p2DynamicLibraryBundle.Test1DynLibBundleInfo.
| List< String > com.jogamp.common.os.DynamicLibraryBundleInfo.getSymbolForToolLibPath | ( | ) |
Returns optional list of optional symbol names per getToolLibNames() in same order for an OS which requires the symbol's address to retrieve the path of the containing library.
Implemented in com.jogamp.gluegen.test.junit.generation.Test1p2DynamicLibraryBundle.Test1DynLibBundleInfo.
| List< String > com.jogamp.common.os.DynamicLibraryBundleInfo.getToolGetProcAddressFuncNameList | ( | ) |
May return the native libraries.
GetProcAddressFunc
names, the first found function is being used.
This could be eg:
glXGetProcAddressARB, glXGetProcAddressARB
.
If your Tool does not has this facility, just return null.
Implemented in com.jogamp.gluegen.test.junit.generation.Test1p2DynamicLibraryBundle.Test1DynLibBundleInfo.
| List< List< String > > com.jogamp.common.os.DynamicLibraryBundleInfo.getToolLibNames | ( | ) |
If a SecurityManager is installed, user needs link permissions for the named libraries.
Implemented in com.jogamp.gluegen.test.junit.generation.Test1p2DynamicLibraryBundle.Test1DynLibBundleInfo.
| boolean com.jogamp.common.os.DynamicLibraryBundleInfo.searchToolLibInSystemPath | ( | ) |
Returns true if tool libraries shall be searched in the system path (default), otherwise false.
Implemented in com.jogamp.gluegen.test.junit.generation.Test1p2DynamicLibraryBundle.Test1DynLibBundleInfo.
| boolean com.jogamp.common.os.DynamicLibraryBundleInfo.searchToolLibSystemPathFirst | ( | ) |
Returns true if system path shall be searched first (default), rather than searching it last.
If searchToolLibInSystemPath() is false the return value is ignored.
Implemented in com.jogamp.gluegen.test.junit.generation.Test1p2DynamicLibraryBundle.Test1DynLibBundleInfo.
| boolean com.jogamp.common.os.DynamicLibraryBundleInfo.shallLinkGlobal | ( | ) |
Implemented in com.jogamp.gluegen.test.junit.generation.Test1p2DynamicLibraryBundle.Test1DynLibBundleInfo.
| boolean com.jogamp.common.os.DynamicLibraryBundleInfo.shallLookupGlobal | ( | ) |
If method returns true and if a SecurityManager is installed, user needs link permissions for all libraries, i.e.
for new RuntimePermission("loadLibrary.*");!
Implemented in com.jogamp.gluegen.test.junit.generation.Test1p2DynamicLibraryBundle.Test1DynLibBundleInfo.
| long com.jogamp.common.os.DynamicLibraryBundleInfo.toolGetProcAddress | ( | long | toolGetProcAddressHandle, |
| String | funcName | ||
| ) |
May implement the lookup function using the Tools facility.
The actual function pointer is provided to allow proper bootstrapping of the ProcAddressTable, using one of the provided function names by getToolGetProcAddressFuncNameList().
Implemented in com.jogamp.gluegen.test.junit.generation.Test1p2DynamicLibraryBundle.Test1DynLibBundleInfo.
| boolean com.jogamp.common.os.DynamicLibraryBundleInfo.useToolGetProcAdressFirst | ( | String | funcName | ) |
| funcName |
toolGetProcAddress(long, String) shall be tried before the system loader for the given function lookup. Otherwise false. Default is true. Implemented in com.jogamp.gluegen.test.junit.generation.Test1p2DynamicLibraryBundle.Test1DynLibBundleInfo.
|
static |
Definition at line 37 of file DynamicLibraryBundleInfo.java.