Class BazaarContextImpl

  • All Implemented Interfaces:
    BazaarContext

    public class BazaarContextImpl
    extends java.lang.Object
    implements BazaarContext
    Default implementation of the bazaar context.
    Author:
    Christian W. Damus
    • Constructor Summary

      Constructors 
      Constructor Description
      BazaarContextImpl​(java.util.Map<java.lang.String,​java.lang.Object> contextMap)
      Initializes me with my contents.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getContextMap()
      Returns a map containing the parameters available for Vendors on a Bazaar.
      • Methods inherited from class java.lang.Object

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

      • BazaarContextImpl

        public BazaarContextImpl​(java.util.Map<java.lang.String,​java.lang.Object> contextMap)
        Initializes me with my contents.
        Parameters:
        contextMap - my contents.
    • Method Detail

      • getContextMap

        public java.util.Map<java.lang.String,​java.lang.Object> getContextMap()
        Description copied from interface: BazaarContext
        Returns a map containing the parameters available for Vendors on a Bazaar. The key is either an id or the full class name. the value is the parameter which will be provided to Vendors
        Specified by:
        getContextMap in interface BazaarContext
        Returns:
        A Map containing the parameters for Vendor from (key|full class name) to the object as value.