Package com.axelor.quartz
Class GuiceSchedulerFactory
- java.lang.Object
-
- org.quartz.impl.StdSchedulerFactory
-
- com.axelor.quartz.GuiceSchedulerFactory
-
- All Implemented Interfaces:
SchedulerFactory
public class GuiceSchedulerFactory extends StdSchedulerFactory
CustomStdSchedulerFactory
to useGuiceJobRunShellFactory
.
-
-
Field Summary
-
Fields inherited from class org.quartz.impl.StdSchedulerFactory
AUTO_GENERATE_INSTANCE_ID, DEFAULT_INSTANCE_ID, MANAGEMENT_REST_SERVICE_ENABLED, MANAGEMENT_REST_SERVICE_HOST_PORT, PROP_CONNECTION_PROVIDER_CLASS, PROP_DATASOURCE_DRIVER, PROP_DATASOURCE_JNDI_ALWAYS_LOOKUP, PROP_DATASOURCE_JNDI_CREDENTIALS, PROP_DATASOURCE_JNDI_INITIAL, PROP_DATASOURCE_JNDI_PRINCIPAL, PROP_DATASOURCE_JNDI_PROVDER, PROP_DATASOURCE_JNDI_URL, PROP_DATASOURCE_MAX_CONNECTIONS, PROP_DATASOURCE_PASSWORD, PROP_DATASOURCE_PREFIX, PROP_DATASOURCE_URL, PROP_DATASOURCE_USER, PROP_DATASOURCE_VALIDATION_QUERY, PROP_JOB_LISTENER_PREFIX, PROP_JOB_STORE_CLASS, PROP_JOB_STORE_LOCK_HANDLER_CLASS, PROP_JOB_STORE_LOCK_HANDLER_PREFIX, PROP_JOB_STORE_PREFIX, PROP_JOB_STORE_USE_PROP, PROP_LISTENER_CLASS, PROP_PLUGIN_CLASS, PROP_PLUGIN_PREFIX, PROP_SCHED_BATCH_TIME_WINDOW, PROP_SCHED_CLASS_LOAD_HELPER_CLASS, PROP_SCHED_CONTEXT_PREFIX, PROP_SCHED_DB_FAILURE_RETRY_INTERVAL, PROP_SCHED_IDLE_WAIT_TIME, PROP_SCHED_INSTANCE_ID, PROP_SCHED_INSTANCE_ID_GENERATOR_CLASS, PROP_SCHED_INSTANCE_ID_GENERATOR_PREFIX, PROP_SCHED_INSTANCE_NAME, PROP_SCHED_INTERRUPT_JOBS_ON_SHUTDOWN, PROP_SCHED_INTERRUPT_JOBS_ON_SHUTDOWN_WITH_WAIT, PROP_SCHED_JMX_EXPORT, PROP_SCHED_JMX_OBJECT_NAME, PROP_SCHED_JMX_PROXY, PROP_SCHED_JMX_PROXY_CLASS, PROP_SCHED_JOB_FACTORY_CLASS, PROP_SCHED_JOB_FACTORY_PREFIX, PROP_SCHED_MAKE_SCHEDULER_THREAD_DAEMON, PROP_SCHED_MAX_BATCH_SIZE, PROP_SCHED_NAME, PROP_SCHED_RMI_BIND_NAME, PROP_SCHED_RMI_CREATE_REGISTRY, PROP_SCHED_RMI_EXPORT, PROP_SCHED_RMI_HOST, PROP_SCHED_RMI_PORT, PROP_SCHED_RMI_PROXY, PROP_SCHED_RMI_SERVER_PORT, PROP_SCHED_SCHEDULER_THREADS_INHERIT_CONTEXT_CLASS_LOADER_OF_INITIALIZING_THREAD, PROP_SCHED_THREAD_NAME, PROP_SCHED_USER_TX_URL, PROP_SCHED_WRAP_JOB_IN_USER_TX, PROP_TABLE_PREFIX, PROP_THREAD_EXECUTOR, PROP_THREAD_EXECUTOR_CLASS, PROP_THREAD_POOL_CLASS, PROP_THREAD_POOL_PREFIX, PROP_TRIGGER_LISTENER_PREFIX, PROPERTIES_FILE, SYSTEM_PROPERTY_AS_INSTANCE_ID
-
-
Constructor Summary
Constructors Constructor Description GuiceSchedulerFactory(Properties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Scheduler
instantiate(QuartzSchedulerResources rsrcs, QuartzScheduler qs)
-
Methods inherited from class org.quartz.impl.StdSchedulerFactory
getAllSchedulers, getDefaultScheduler, getLog, getScheduler, getScheduler, initialize, initialize, initialize, initialize
-
-
-
-
Constructor Detail
-
GuiceSchedulerFactory
public GuiceSchedulerFactory(Properties props) throws SchedulerException
- Throws:
SchedulerException
-
-
Method Detail
-
instantiate
protected Scheduler instantiate(QuartzSchedulerResources rsrcs, QuartzScheduler qs)
- Overrides:
instantiate
in classStdSchedulerFactory
-
-