Class HashMapBeanStore

    • Field Detail

      • delegate

        protected Map<org.jboss.weld.serialization.spi.BeanIdentifier,​Object> delegate
    • Constructor Detail

      • HashMapBeanStore

        public HashMapBeanStore()
        Constructor
    • Method Detail

      • lock

        public LockedBean lock​(org.jboss.weld.serialization.spi.BeanIdentifier id)
        Description copied from interface: BeanStore
        Gets a creation lock for the given bean id.
        Specified by:
        lock in interface BeanStore
        Parameters:
        id - The bean id
        Returns:
        A handle that must be used to unlock the bean