-
-
Save michaelklishin/7e0695d7b42f6a2bfe34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import clojure.lang.DynamicClassLoader; | |
import com.novemberain.quartz.mongodb.MongoDBJobStore; | |
public class JobStore extends MongoDBJobStore implements org.quartz.spi.JobStore { | |
@Override | |
protected ClassLoader getJobClassLoader() { | |
// makes it possible for Quartz to load and instantiate jobs that are defined | |
// using defrecord without AOT compilation. MK. | |
return new DynamicClassLoader(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment