Rework initialization of ProxyFactoryFactory to move responsibility out of PojoEntityTuplizer
Description
Most of the code to initialize a ProxyFactoryFactory correctly is deeply buries into the org.hibernate.tuple.entity.PojoEntityTuplizer#buildProxyFactory method.
To allow initialization of a {{ProxyFactoryFactory}} by some different code than PojoEntityTuplizer, it would be nice to extract such logic into a more reuse-friendly ProxyFactoryHelper.
Most of the code to initialize a
ProxyFactoryFactory
correctly is deeply buries into theorg.hibernate.tuple.entity.PojoEntityTuplizer#buildProxyFactory
method.To allow initialization of a {{ProxyFactoryFactory}} by some different code than PojoEntityTuplizer, it would be nice to extract such logic into a more reuse-friendly
ProxyFactoryHelper
.