Interface ContextRepository

  • All Known Implementing Classes:
    DefaultContextRepository

    public interface ContextRepository
    Interface for ContextRepository to manage ContextMap.
    • Method Summary

      All Methods Instance Methods Abstract 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
    • Method Detail

      • get

        ContextMap get​(java.lang.String name)
        Return a single ContextMap object for the given name
        Parameters:
        name -
        Returns:
      • put

        void put​(java.lang.String name,
                 ContextMap context)
        Add a single ContextMap object to the context store
        Parameters:
        name -
        context -
      • clear

        void clear()
        Clear out the entire context store
      • size

        int size()
        return the size of the current context store
        Returns:
      • keys

        java.util.Enumeration<java.lang.String> keys()
        Returns an enumeration of all keys.
        Returns: