Interface ContextStore


  • @Role
    public interface ContextStore
    Save and restore contextual data.
    Since:
    10.10RC1
    Version:
    $Id: c7203943458888f8f2fe9fe7ad0180650ad31ff8 $
    • Method Detail

      • save

        void save​(Map<String,​Serializable> contextStore,
                  Collection<String> entries)
        Save only the passed context entries in the map.
        Parameters:
        contextStore - the stored context data
        entries - the list of context entries to take into account
      • restore

        void restore​(Map<String,​Serializable> contextStore)
        Inject in the current context data found in the passed map.
        Parameters:
        contextStore - the stored context data