Interface IPrivilegedAction<T>

Type Parameters:
T - The action return type.
All Superinterfaces:
PrivilegedAction<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IPrivilegedAction<T> extends PrivilegedAction<T>
Extension to PrivilegedAction with an invokeSafe() method that invokes the AccessController only if a security manager is present.
This class is deprecated per Java 17, as the Java Security Manager is deprecated in that version. See https://openjdk.org/jeps/411 for details.
Author:
Philip Helger