-
Feature Request
-
Resolution: Unresolved
-
Major
-
1.1.4.Final
-
None
Open InstanceProducer with a option to set(Future<T>).
@Inject
Instance<T> inst; inst.get() would call future.get();
Would allow for background creation of any exposed contextual object.
@Inject @TestScoped private InstanceProducer<T> producer; @Inject private Instance<ExecutorService> executor; producer.set(executor.submit(Callable<T>))
Questions:
When is fire(T) called, when set(Future<T>) as now, or when Future is resovled?
- is blocked by
-
ARQ-1654 Expose an ExecutorService to help Extension with multithreading
- Closed