Class MapBeanStore

java.lang.Object
org.jboss.weld.contexts.beanstore.AttributeBeanStore
org.jboss.weld.contexts.beanstore.MapBeanStore
All Implemented Interfaces:
Iterable<org.jboss.weld.serialization.spi.BeanIdentifier>, BeanStore, BoundBeanStore
Direct Known Subclasses:
SessionMapBeanStore

public class MapBeanStore extends AttributeBeanStore
  • Field Details

    • lockStore

      protected transient volatile LockStore lockStore
  • Constructor Details

  • Method Details

    • 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
    • getLockStore

      public LockStore getLockStore()
      Specified by:
      getLockStore in class AttributeBeanStore