Class AbstractPrivilegedAction<T>

java.lang.Object
org.jppf.client.taskwrapper.AbstractPrivilegedAction<T>
Type Parameters:
T - the type of value returned y the action.
All Implemented Interfaces:
PrivilegedAction<T>

public abstract class AbstractPrivilegedAction<T> extends Object implements PrivilegedAction<T>
Abstract superclass for privileged actions used to invoke a method or constructor through reflection when a security manager is present.
Author:
Laurent Cohen
  • Field Details

    • exception

      protected Exception exception
      Used to capture an exception resulting from the method or constructor invocation.
    • args

      protected Object[] args
      The parameters of the method or constructor to invoke.
  • Constructor Details

    • AbstractPrivilegedAction

      public AbstractPrivilegedAction()
  • Method Details

    • getException

      public Exception getException()
      Get the exception resulting from the method or constructor invocation.
      Returns:
      an Exception instance.