Improved CDI support including support for other types of managed beans

Description

The main thrust of this issue is to generally improve the support for CDI in Hibernate ORM in terms of general refactoring.

But the other design goal is to make it easier to support new kinds of managed beans. Initially this will include AttributeConverters, but I can also see supporting Hibernate event listeners, Hibernate services, etc. Essentially anything we instantiate ourselves should be considered.

In-flight list of Service contracts to consider:

  1. RegionFactory (L2 caching support)

  2. JtaPlatform

  3. TransactionCoordinatorBuilder

  4. Interceptors

Environment

None

Status

Assignee

Steve Ebersole

Reporter

Steve Ebersole

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major