-
- 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 intgetPriority()Retrieve the priority of the access lookup in comparison to other access lookups.MethodHandles.Lookuprun()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:
runin interfacePrivilegedExceptionAction<MethodHandles.Lookup>- Returns:
- Full access
MethodHandles.Lookup.nullindicates the operation failed. - Throws:
Exception- When the operation fails
-
-