Make JCacheRegionFactory easier to subclass

Description

I was needing to override `JCacheRegionFactory` in order to provide another class loader.

I ended up having to copy the code from `resolveCacheManager` to achieve what I wanted.

So here is a PR giving some more flexibility.

Environment

None

Assignee

Unassigned

Reporter

Henri Tremblay

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure