org.quartz
Class SchedulerContext

java.lang.Object
  extended by org.quartz.utils.DirtyFlagMap
      extended by org.quartz.utils.StringKeyDirtyFlagMap
          extended by org.quartz.SchedulerContext
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class SchedulerContext
extends StringKeyDirtyFlagMap
implements java.io.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.

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

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

Constructor Detail

SchedulerContext

public SchedulerContext()
Create an empty SchedulerContext.


SchedulerContext

public SchedulerContext(java.util.Map map)
Create a SchedulerContext with the given data.



Copyright 2001-2019, Terracotta, Inc.