org.jboss.weld.context.beanstore
Class HashMapBeanStore
java.lang.Object
org.jboss.weld.context.beanstore.AbstractMapBackedBeanStore
org.jboss.weld.context.beanstore.HashMapBeanStore
- All Implemented Interfaces:
- Serializable, Iterable<String>, BeanStore
public class HashMapBeanStore
- extends AbstractMapBackedBeanStore
- implements Serializable
A BeanStore that uses a HashMap as backing storage
- Author:
- Nicklas Karlsson
- See Also:
- Serialized Form
delegate
protected Map<String,Object> delegate
HashMapBeanStore
public HashMapBeanStore()
- Constructor
delegate
public Map<String,Object> delegate()
- Gets the delegate for the store
- Specified by:
delegate
in class AbstractMapBackedBeanStore
- Returns:
- The delegate
lock
public LockedBean lock(String 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
Copyright © 2013 Seam Framework. All Rights Reserved.