Skip to content
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

open SimpleJobLauncher for extension #3637

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hosuaby
Copy link

@hosuaby hosuaby commented Dec 27, 2019

CONTEXT: In my project I was needed a custom JobLauncher implementation that delays execution of the job until some condition become true. In order to achieve it, I copied all code from SimpleJobLauncher. This work could be done more easily if SimpleJobLauncher was open for extension.

In this PR, I added two protected methods createJobExecution and launchJobExecution to class SimpleJobLauncher. Creation of JobExecution is now decoupled from its execution.

@fmbenhassine fmbenhassine added the status: waiting-for-triage Issues that we did not analyse yet label Jan 13, 2020
@hosuaby hosuaby force-pushed the feature/extendableSimpleJobLauncher branch from eeb24eb to 18195fa Compare May 13, 2020 08:34
@fmbenhassine fmbenhassine changed the title FEATURE: open SimpleJobLauncher for extension open SimpleJobLauncher for extension Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants