org.compass.core.util.backport.java.util.concurrent
Class Executors.PrivilegedCallableUsingCurrentClassLoader

java.lang.Object
  extended by org.compass.core.util.backport.java.util.concurrent.Executors.PrivilegedCallableUsingCurrentClassLoader
All Implemented Interfaces:
Callable
Enclosing class:
Executors

static final class Executors.PrivilegedCallableUsingCurrentClassLoader
extends Object
implements Callable

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


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

Executors.PrivilegedCallableUsingCurrentClassLoader(Callable task)
Method Detail

call

public Object 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
Returns:
computed result
Throws:
Exception - if unable to compute a result


Copyright (c) 2004-2006 The Compass Project.