Interface ContextPopulator

  • All Known Implementing Classes:
    DefaultContextPopulator

    public interface ContextPopulator
    ContextPopulator is responsible for populating context map based on object which will be passed as an argument of method @link{populate(Object)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SELECTED_OBJECT
      Key to context value that contains the context-defining object.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> populate​(java.lang.Object contextData)
      Creates context map based on method's argument
    • Field Detail

      • SELECTED_OBJECT

        static final java.lang.String SELECTED_OBJECT
        Key to context value that contains the context-defining object.
        See Also:
        Constant Field Values
    • Method Detail

      • populate

        java.util.Map<java.lang.String,​java.lang.Object> populate​(java.lang.Object contextData)
        Creates context map based on method's argument
        Parameters:
        contextData - Context-defining object
        Returns:
        a map of context attributes populated for the given context-root