Class AbstractMapBackedBeanStore
java.lang.Object
org.jboss.weld.contexts.beanstore.AbstractMapBackedBeanStore
- Direct Known Subclasses:
ConcurrentHashMapBeanStore,HashMapBeanStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears the store of contextual instancesbooleancontains(org.jboss.weld.serialization.spi.BeanIdentifier id) Check if the store contains an instancedelegate()boolean<T> ContextualInstance<T>get(org.jboss.weld.serialization.spi.BeanIdentifier id) Gets an instance of a contextual from the storeSet<org.jboss.weld.serialization.spi.BeanIdentifier>inthashCode()Iterator<org.jboss.weld.serialization.spi.BeanIdentifier>iterator()<T> voidput(org.jboss.weld.serialization.spi.BeanIdentifier id, ContextualInstance<T> beanInstance) Adds a bean instance to the storage<T> ContextualInstance<T>remove(org.jboss.weld.serialization.spi.BeanIdentifier id) Removes a bean instance identified by the given id.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AbstractMapBackedBeanStore
public AbstractMapBackedBeanStore()
-
-
Method Details
-
delegate
-
get
Description copied from interface:BeanStoreGets an instance of a contextual from the store -
clear
public void clear()Description copied from interface:BeanStoreClears the store of contextual instances -
contains
public boolean contains(org.jboss.weld.serialization.spi.BeanIdentifier id) Description copied from interface:BeanStoreCheck if the store contains an instance -
remove
Description copied from interface:BeanStoreRemoves a bean instance identified by the given id. -
equals
-
hashCode
public int hashCode() -
getContextualIds
-
put
public <T> void put(org.jboss.weld.serialization.spi.BeanIdentifier id, ContextualInstance<T> beanInstance) Description copied from interface:BeanStoreAdds a bean instance to the storage -
toString
-
iterator
-