org.quartz.impl
Class SchedulerRepository

java.lang.Object
  extended by org.quartz.impl.SchedulerRepository

public class SchedulerRepository
extends java.lang.Object

Holds references to Scheduler instances - ensuring uniqueness, and preventing garbage collection, and allowing 'global' lookups - all within a ClassLoader space.

Author:
James House

Method Summary
 void bind(Scheduler sched)
           
static SchedulerRepository getInstance()
           
 Scheduler lookup(java.lang.String schedName)
           
 java.util.Collection<Scheduler> lookupAll()
           
 boolean remove(java.lang.String schedName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()


Copyright 2001-2019, Terracotta, Inc.