diff options
Diffstat (limited to 'src/java/com/jogamp/common/os/DynamicLookupHelper.java')
-rw-r--r-- | src/java/com/jogamp/common/os/DynamicLookupHelper.java | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/os/DynamicLookupHelper.java b/src/java/com/jogamp/common/os/DynamicLookupHelper.java index 0f87351..7997d57 100644 --- a/src/java/com/jogamp/common/os/DynamicLookupHelper.java +++ b/src/java/com/jogamp/common/os/DynamicLookupHelper.java @@ -51,12 +51,23 @@ public interface DynamicLookupHelper { public static final boolean DEBUG_LOOKUP = Debug.debug("NativeLibrary.Lookup"); /** + * @throws SecurityException if user is not granted access for the library set. + */ + public void claimAllLinkPermission() throws SecurityException; + /** + * @throws SecurityException if user is not granted access for the library set. + */ + public void releaseAllLinkPermission() throws SecurityException; + + /** * Returns the function handle for function 'funcName'. + * @throws SecurityException if user is not granted access for the library set. */ - public long dynamicLookupFunction(String funcName); + public long dynamicLookupFunction(String funcName) throws SecurityException; /** * Queries whether function 'funcName' is available. + * @throws SecurityException if user is not granted access for the library set. */ - public boolean isFunctionAvailable(String funcName); + public boolean isFunctionAvailable(String funcName) throws SecurityException; } |