org.jppf.client.taskwrapper
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 priviledged actions used to invoke a method or constructor through reflection when a security manager is present.
- Author:
- Laurent Cohen
|
Field Summary |
protected Object[] |
args
The parameters of the method or constructor to invoke. |
protected Exception |
exception
Used to capture an exception resulting from the method or constructore invocation. |
|
Method Summary |
Exception |
getException()
Get the exception resulting from the method or constructore invocation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exception
protected Exception exception
- Used to capture an exception resulting from the method or constructore invocation.
args
protected Object[] args
- The parameters of the method or constructor to invoke.
AbstractPrivilegedAction
public AbstractPrivilegedAction()
getException
public Exception getException()
- Get the exception resulting from the method or constructore invocation.
- Returns:
- an
Exception instance.
Copyright © 2005-2010 JPPF Team.