-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 Beta 7
-
Fix Version/s: 7.0.0 DXP FP30, 7.0.X EE, 7.0.4 CE GA5, Master
-
Component/s: Core Infrastructure
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Registry.getService(Class<?> class) and Registry.getService(String className) get new references from OSGi context without giving the user the chance to unget the services, since the methods are hiding the reference used for getting the service.
We should deprecate these methods and get the services through the references or use a ServiceTracker instead.
- relates
-
LRDOCS-3944 Using the annotation @Inject in tests
-
- Closed
-