-
-
Save michaelklishin/7db0e35c176afa43d761 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
package megacorp.myservice.quartz; | |
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. | |
return new DynamicClassLoader(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment