Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
Models Impl 1.4.10
-
None
Description
right now OSGiServiceInjector uses its own bundle context for fetching the service reference, which generates ClassNotFoundException under the hood during assignable checks at each bind, which is bad for performances.
The annotation should either:
- use the context of the bundle it extends,
- use scripting core's ServiceCache,
- use the above through SlingScriptHelper
reusing the above works for request adaptable, not for resources, that will be treated in another ticket
Attachments
Issue Links
- links to