JCacheRegionFactory should allow for subclasses to specify CacheManager

Description

It would be nice for org.hibernate.cache.jcache.JCacheRegionFactory to be refactored to have a "getCacheManager()" protected method that subclasses can override so they can get the CacheManager in some other way. Currently, in order to get a different CacheManager than by using the the means by which the "start" currently provides involves copying the JCacheRegionFactory class and modifying it - using inheritance would be more maintainable and all around better.

Environment

None

Status

Assignee

Unassigned

Reporter

Craig Andrews

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure