Class HashMapBeanStore
- java.lang.Object
-
- org.jboss.weld.contexts.beanstore.AbstractMapBackedBeanStore
-
- org.jboss.weld.contexts.beanstore.HashMapBeanStore
-
- All Implemented Interfaces:
Serializable
,Iterable<org.jboss.weld.serialization.spi.BeanIdentifier>
,BeanStore
public class HashMapBeanStore extends AbstractMapBackedBeanStore implements Serializable
A BeanStore that uses a HashMap as backing storage- Author:
- Nicklas Karlsson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HashMapBeanStore()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<org.jboss.weld.serialization.spi.BeanIdentifier,Object>
delegate()
Gets the delegate for the storeLockedBean
lock(org.jboss.weld.serialization.spi.BeanIdentifier id)
Gets a creation lock for the given bean id.-
Methods inherited from class org.jboss.weld.contexts.beanstore.AbstractMapBackedBeanStore
clear, contains, equals, get, getContextualIds, hashCode, iterator, put, remove, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
delegate
public Map<org.jboss.weld.serialization.spi.BeanIdentifier,Object> delegate()
Gets the delegate for the store- Specified by:
delegate
in classAbstractMapBackedBeanStore
- Returns:
- The delegate
-
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.
-
-