-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create an object and then give it to Sundial to run. #22
Labels
Comments
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 |
timmolter
changed the title
Request...
Create an object and then give it to Sundial to run.
Mar 10, 2019
Note to self. Create a second |
@lind You you have a sample JobFactory that takes new'd up objects that you could share? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: