-
Task
-
Resolution: Fixed
-
Critical
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
By default, Quartz uses its org.quartz.simpl.SimpleJobFactory to create org.quartz.Job instances. This in turn uses java.lang.Class#newInstance, which means we're still using the default deprecated constructors of info.magnolia.module.scheduler.CommandJob which were deprecated with MGNLSCH-43.
We need to implement our own factory, which uses our ComponentProvider (i.e Guice)
Acceptance criteria
- depends upon
-
MGNLSCH-46 Update dependencies to Magnolia 5.4
- Closed
- is depended upon by
-
MGNLSCH-56 Inject a Provider<SimpleTranslator> in CommandJob so that getting the Locale is deferred until the job is executed
- Closed