Class SchedulerContext

  extended by org.quartz.utils.DirtyFlagMap<String,Object>
      extended by org.quartz.utils.StringKeyDirtyFlagMap
          extended by org.quartz.SchedulerContext
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class SchedulerContext
extends StringKeyDirtyFlagMap
implements Serializable

Holds context/environment data that can be made available to Jobs as they are executed. This feature is much like the ServletContext feature when working with J2EE servlets.

Future versions of Quartz may make distinctions on how it propagates data in SchedulerContext between instances of proxies to a single scheduler instance - i.e. if Quartz is being used via RMI.

James House
See Also:
Scheduler.getContext(), Serialized Form

Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Map
Constructor Summary
          Create an empty SchedulerContext.
SchedulerContext(Map<?,?> map)
          Create a SchedulerContext with the given data.
Method Summary
Methods inherited from class org.quartz.utils.StringKeyDirtyFlagMap
containsTransientData, equals, getAllowsTransientData, getBoolean, getChar, getDouble, getFloat, getInt, getKeys, getLong, getString, hashCode, put, put, put, put, put, put, put, put, removeTransientData, setAllowsTransientData
Methods inherited from class org.quartz.utils.DirtyFlagMap
clear, clearDirtyFlag, clone, containsKey, containsValue, entrySet, get, getWrappedMap, isDirty, isEmpty, keySet, putAll, remove, size, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SchedulerContext()
Create an empty SchedulerContext.


public SchedulerContext(Map<?,?> map)
Create a SchedulerContext with the given data.

Copyright 2001-2013, Terracotta, Inc.