public interface DynamicLibraryBundleInfo
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG |
Modifier and Type | Method and Description |
---|---|
List<String> |
getGlueLibNames()
If a
SecurityManager is installed, user needs link permissions
for the named libraries. |
RunnableExecutor |
getLibLoaderExecutor()
Returns a suitable
RunnableExecutor implementation, which is being used
to load the tool and glue native libraries. |
List<String> |
getToolGetProcAddressFuncNameList()
May return the native libraries GetProcAddressFunc names, the first found function is being used.
|
List<List<String>> |
getToolLibNames()
If a
SecurityManager is installed, user needs link permissions
for the named libraries. |
boolean |
shallLinkGlobal() |
boolean |
shallLookupGlobal()
If method returns
true and if a SecurityManager is installed, user needs link permissions
for all libraries, i.e. for new RuntimePermission("loadLibrary.*"); ! |
long |
toolGetProcAddress(long toolGetProcAddressHandle,
String funcName)
May implement the lookup function using the Tools facility.
|
boolean |
useToolGetProcAdressFirst(String funcName) |
List<List<String>> getToolLibNames()
SecurityManager
is installed, user needs link permissions
for the named libraries.List<String> getGlueLibNames()
SecurityManager
is installed, user needs link permissions
for the named libraries.List<String> getToolGetProcAddressFuncNameList()
GetProcAddressFuncnames, the first found function is being used.
glXGetProcAddressARB, glXGetProcAddressARB.
toolGetProcAddress(long, String)
long toolGetProcAddress(long toolGetProcAddressHandle, String funcName)
getToolGetProcAddressFuncNameList()
.boolean useToolGetProcAdressFirst(String funcName)
funcName
- toolGetProcAddress(long, String)
shall be tried before
the system loader for the given function lookup. Otherwise false.
Default is true.boolean shallLinkGlobal()
boolean shallLookupGlobal()
true
and if a SecurityManager
is installed, user needs link permissions
for all libraries, i.e. for new RuntimePermission("loadLibrary.*");
!RunnableExecutor getLibLoaderExecutor()
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()
.