Build 1.0_r1(from source)

java.util.concurrent
Class Executors.PrivilegedActionAdapter

java.lang.Object
  extended by java.util.concurrent.Executors.PrivilegedActionAdapter
All Implemented Interfaces:
Callable<Object>
Enclosing class:
Executors

static final class Executors.PrivilegedActionAdapter
extends Object
implements Callable<Object>

A callable that runs given privileged action and returns its result


Constructor Summary
Executors.PrivilegedActionAdapter(PrivilegedAction action)
           
 
Method Summary
 Object call()
          Computes a result, or throws an exception if unable to do so.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Executors.PrivilegedActionAdapter

Executors.PrivilegedActionAdapter(PrivilegedAction action)
Method Detail

call

public Object call()
Description copied from interface: Callable
Computes a result, or throws an exception if unable to do so.

Specified by:
call in interface Callable<Object>
Returns:
computed result

Build 1.0_r1(from source)

Please submit a feedback, bug or feature