org.quartz.impl
Class SchedulerRepository

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

public class SchedulerRepository
extends 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(String schedName)
           
 Collection<Scheduler> lookupAll()
           
 boolean remove(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(String schedName)

lookup

public Scheduler lookup(String schedName)

lookupAll

public Collection<Scheduler> lookupAll()


Copyright 2001-2015, Terracotta, Inc.