org.glassfish.jersey.process.internal
Interface RequestScope.Producer<T>
- Type Parameters:
T - type of the produced result.
- All Superinterfaces:
- java.util.concurrent.Callable<T>
- Enclosing class:
- RequestScope
public static interface RequestScope.Producer<T>
- extends java.util.concurrent.Callable<T>
This interface extends Callable interface but removes the
exception from call declaration.
This convenience interface may be used in places where a task
producing a result needs to be executed in the request scope but no
checked exceptions are thrown during the task
execution.
call
T call()
- Specified by:
call in interface java.util.concurrent.Callable<T>
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.