Class DefaultContextRepository

  • All Implemented Interfaces:
    ContextRepository, java.io.Serializable

    public class DefaultContextRepository
    extends java.lang.Object
    implements ContextRepository, java.io.Serializable
    Default implementation of a way to store context information.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultContextRepository()
      Creates a new instance of the context store, backed by a ConcurrentHashMap.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()
      Clear out the entire context store
      ContextMap get​(java.lang.String name)
      Return a single ContextMap object for the given name
      java.util.Enumeration<java.lang.String> keys()
      Returns an enumeration of all keys.
      void put​(java.lang.String name, ContextMap context)
      Add a single ContextMap object to the context store
      int size()
      return the size of the current context store
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultContextRepository

        public DefaultContextRepository()
        Creates a new instance of the context store, backed by a ConcurrentHashMap.