Closed net-cscience-raphael closed 7 months ago
Adds logging and the CachedContentFactory.
CachedContentFactory
Introduces a ContentFactoriesFactory to load the specific ContentFactory using the ServiceLoader and be able to set parameters.
ContentFactoriesFactory
ContentFactory
ServiceLoader
Example configuration of CachedContentFactory:
"contentFactory": { "factory": "CachedContentFactory", "parameters": { "location": "D:/ptt/cache/" }
Since this builds on dev, it should also target dev rather than main in order to make clear what the actual contributions of this request are.
dev
main
Adds logging and the
CachedContentFactory
.Introduces a
ContentFactoriesFactory
to load the specificContentFactory
using theServiceLoader
and be able to set parameters.Example configuration of
CachedContentFactory
: