You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to be able to create an object and then give it to Sundial to run. Currently we can only give it the class name and such but we are using Guice and need to use the Guice object. It would be great to have
MyObject mo = new MyObject("yes");//I can set the object up here...
SundialJobScheduler.addJob(name, mo, m, false);
And of course MyObject would extend Job...
The text was updated successfully, but these errors were encountered:
What about using a custom JobFactory that could inject objects into the job or returning a job instance as described in quartz tutorial? (See: Job “Instances”) This is not possible in Sundial right now but with #24
We would like to be able to create an object and then give it to Sundial to run. Currently we can only give it the class name and such but we are using Guice and need to use the Guice object. It would be great to have
MyObject mo = new MyObject("yes");//I can set the object up here...
SundialJobScheduler.addJob(name, mo, m, false);
And of course MyObject would extend Job...
The text was updated successfully, but these errors were encountered: