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

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

static final class Executors.PrivilegedCallable
extends Object
implements Callable

A callable that runs under established access control settings


Constructor Summary
Executors.PrivilegedCallable(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.PrivilegedCallable

Executors.PrivilegedCallable(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.