Support @Inject in most (if not all?) non-service customizable classes

Description

For instance LuceneAnalyzerDefinitionProvider or ElasticsearchAnalysisDefinitionProvider.
There may be others, see in particular where we use ReflectionHelper.createInstance or ClassLoaderHelper.instanceFromName or ClassLoaderHelper.instanceFromClass.

Activity

Show:

Yoann Rodière February 8, 2019 at 10:39 AM
Edited

Fixed as a consequence of several other tickets, in particular https://hibernate.atlassian.net/browse/HSEARCH-3169#icft=HSEARCH-3169 where we restored the CDI/Spring integration, and other tickets where we made sure that all user components are instantiated through the BeanProvider (therefore calling Spring/CDI if relevant).

We're lacking proper formal tests, though: we will have some as part of the showcase once https://hibernate.atlassian.net/browse/HSEARCH-3047#icft=HSEARCH-3047 is merged, but that won't cover everything.
Created https://hibernate.atlassian.net/browse/HSEARCH-3479 to address this problem.

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Priority

Created March 29, 2017 at 5:46 PM
Updated March 21, 2019 at 5:27 PM
Resolved February 8, 2019 at 10:39 AM