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

Make Typed extension internally delegate to untyped #122

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

Conversation

zackman0010
Copy link

With typed extending the untyped extension, two copies of the scheduler were getting created with the same name. Quartz does not allow duplicate schedulers, so only the first extension to launch would actually successfully launch. The second would fail.
This commit instead makes the typed extension have a reference to the untyped, internally delegating all calls to the untyped scheduler. An implicit conversion function is included to make all methods of the untyped extension available on the typed extension as they were before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant