Build 1.0_r1(from source)

java.util.concurrent
Class Executors.PrivilegedCallableUsingCurrentClassLoader<T>

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

static final class Executors.PrivilegedCallableUsingCurrentClassLoader<T>
extends Object
implements Callable<T>

A callable that runs under established access control settings and current ClassLoader


Constructor Summary
Executors.PrivilegedCallableUsingCurrentClassLoader(Callable<T> task)
           
 
Method Summary
 T 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.PrivilegedCallableUsingCurrentClassLoader

Executors.PrivilegedCallableUsingCurrentClassLoader(Callable<T> task)
Method Detail

call

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

Specified by:
call in interface Callable<T>
Returns:
computed result
Throws:
Exception - if unable to compute a result

Build 1.0_r1(from source)

Please submit a feedback, bug or feature