-
- All Superinterfaces:
PrivilegedExceptionAction<MethodHandles.Lookup>
public interface GetFullAccess extends PrivilegedExceptionAction<MethodHandles.Lookup>
Service interface for declaring how to retrieve the JVM's Full accessMethodHandles.Lookup
- Since:
- 1.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default int
getPriority()
Retrieve the priority of the access lookup in comparison to other access lookups.MethodHandles.Lookup
run()
Attempt to access the full accessMethodHandles.Lookup
.
-
-
-
Method Detail
-
getPriority
default int getPriority()
Retrieve the priority of the access lookup in comparison to other access lookups.- Returns:
- priority of the access lookup in comparison to others.
-
run
MethodHandles.Lookup run() throws Exception
Attempt to access the full accessMethodHandles.Lookup
.- Specified by:
run
in interfacePrivilegedExceptionAction<MethodHandles.Lookup>
- Returns:
- Full access
MethodHandles.Lookup
.null
indicates the operation failed. - Throws:
Exception
- When the operation fails
-
-