Package org.quartz.core
Class SchedulerFactory
java.lang.Object
org.quartz.core.SchedulerFactory
An implementation of
SchedulerFactory that does all of its
work of creating a QuartzScheduler instance.- Author:
- James House, Anthony Eden, Mohammad Rezaei, timmolter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a handle to the Scheduler produced by this factory.getScheduler(int threadPoolSize) getScheduler(int threadPoolSize, String packageName)
-
Constructor Details
-
SchedulerFactory
public SchedulerFactory()
-
-
Method Details
-
getScheduler
- Parameters:
threadPoolSize-packageName-- Returns:
- Returns a handle to the Scheduler produced by this factory. Initialized with given threadPoolSize and packageName where it looks for annotated Job classes
- Throws:
SchedulerException
-
getScheduler
- Parameters:
threadPoolSize-- Returns:
- Returns a handle to the Scheduler produced by this factory. Initialized with given threadPoolSize
- Throws:
SchedulerException
-
getScheduler
Returns a handle to the Scheduler produced by this factory.If one of the
initializemethods has not be previously called, then the default (no-arg)initialize()method will be called by this method.- Throws:
SchedulerException
-