Skip to content

Instantly share code, notes, and snippets.

@michaelklishin
Created May 21, 2013 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelklishin/7e0695d7b42f6a2bfe34 to your computer and use it in GitHub Desktop.
Save michaelklishin/7e0695d7b42f6a2bfe34 to your computer and use it in GitHub Desktop.
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