Class DefaultContext

    • Method Detail

      • get

        public Object get​(String key)
        Description copied from interface: Context
        Searches for the value with the specified attribute key in this context.
        Specified by:
        get in interface Context
        Parameters:
        key - the attribute key.
        Returns:
        the value in this context with the specified attribute key value.
      • add

        public void add​(String key,
                        Object value)
        Adds a context entry.
        Parameters:
        key - the context key
        value - the value for key