Document support for @Inject in ClassBridge and FieldBridge instances

Description

See HSEARCH-1316: Support @Inject in ClassBridges and FieldBridge instancesClosed

Note: we might want to test the limitations of this feature before documenting it, so that we can plan on future non-compatible changes.
For instance, what if we want Hibernate Search to add beans to the CDI context in the future? Like being able to do this:

@Inject QueryBuilder<MyEntity> qb;

Wouldn't this fail, because there's a cyclic dependency Hibernate Search => CDI Beans => Hibernate Search?

Activity

Yoann RodièreApril 11, 2018 at 7:59 AM

Duplicate

Details

Assignee

Reporter

Components

Priority

Created May 16, 2017 at 11:30 AM
Updated April 11, 2018 at 7:59 AM
Resolved April 11, 2018 at 7:59 AM

Flag notifications