akka-quartz-scheduler icon indicating copy to clipboard operation
akka-quartz-scheduler copied to clipboard

Make Typed extension internally delegate to untyped

Open zackman0010 opened this issue 1 year ago • 0 comments

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.

zackman0010 avatar Nov 08 '23 22:11 zackman0010