Joerg Hoh created SLING-11040:
---------------------------------
Summary: Thread pools should be available as services
Key: SLING-11040
URL: https://issues.apache.org/jira/browse/SLING-11040
Project: Sling
Issue Type: Improvement
Components: Commons
Affects Versions: Commons Threads 3.2.22
Reporter: Joerg Hoh
It should be possible to reference a thread pool directly instead of always
going via the {{ThreadPoolManager}}
{{
@Reference(name="my-thread-pool")
ThreadPool myThreadPool;
}}
In the same approach it's probably advisable to replace the current
implementation (which relies on a ManagedServiceFactory) with DS.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)