Class InvocationContextBeanStore

    • Constructor Detail

      • InvocationContextBeanStore

        public InvocationContextBeanStore​(NamingScheme namingScheme,
                                          javax.interceptor.InvocationContext ctx)
    • Method Detail

      • getAttribute

        protected Object getAttribute​(String prefixedId)
        Description copied from class: AttributeBeanStore
        Gets an attribute from the underlying storage
        Specified by:
        getAttribute in class AttributeBeanStore
        Parameters:
        prefixedId - The (prefixed) id of the attribute
        Returns:
        The data
      • removeAttribute

        protected void removeAttribute​(String prefixedId)
        Description copied from class: AttributeBeanStore
        Removes an attribute from the underlying storage
        Specified by:
        removeAttribute in class AttributeBeanStore
        Parameters:
        prefixedId - The (prefixed) id of the attribute to remove
      • getAttributeNames

        protected Iterator<String> getAttributeNames()
        Description copied from class: AttributeBeanStore
        Gets an enumeration of the attribute names present in the underlying storage. The collection must guarantee non-interference with other threads when iterating over it using iterator.
        Specified by:
        getAttributeNames in class AttributeBeanStore
        Returns:
        The attribute names
      • setAttribute

        protected void setAttribute​(String prefixedId,
                                    Object instance)
        Description copied from class: AttributeBeanStore
        Sets an instance under a key in the underlying storage
        Specified by:
        setAttribute in class AttributeBeanStore
        Parameters:
        prefixedId - The (prefixed) id of the attribute to set
        instance - The instance