Package org.quartz.impl
Class SchedulerRepository
- java.lang.Object
-
- org.quartz.impl.SchedulerRepository
-
public class SchedulerRepository extends java.lang.ObjectHolds references to Scheduler instances - ensuring uniqueness, and preventing garbage collection, and allowing 'global' lookups - all within a ClassLoader space.
- Author:
- James House
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(Scheduler sched)static SchedulerRepositorygetInstance()Schedulerlookup(java.lang.String schedName)java.util.Collection<Scheduler>lookupAll()booleanremove(java.lang.String schedName)
-
-
-
Method Detail
-
getInstance
public static SchedulerRepository getInstance()
-
bind
public void bind(Scheduler sched) throws SchedulerException
- Throws:
SchedulerException
-
remove
public boolean remove(java.lang.String schedName)
-
lookup
public Scheduler lookup(java.lang.String schedName)
-
lookupAll
public java.util.Collection<Scheduler> lookupAll()
-
-