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.
Modifier and Type | Method and Description |
---|---|
void |
bind(Scheduler sched) |
static SchedulerRepository |
getInstance() |
Scheduler |
lookup(java.lang.String schedName) |
java.util.Collection |
lookupAll() |
boolean |
remove(java.lang.String schedName) |
public static SchedulerRepository getInstance()
public void bind(Scheduler sched) throws SchedulerException
SchedulerException
public boolean remove(java.lang.String schedName)
public Scheduler lookup(java.lang.String schedName)
public java.util.Collection lookupAll()