public abstract class AbstractMapBackedBeanStore extends Object implements BeanStore
Constructor and Description |
---|
AbstractMapBackedBeanStore() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the store of contextual instances
|
boolean |
contains(org.jboss.weld.serialization.spi.BeanIdentifier id)
Check if the store contains an instance
|
protected abstract Map<org.jboss.weld.serialization.spi.BeanIdentifier,Object> |
delegate() |
boolean |
equals(Object obj) |
<T> org.jboss.weld.context.api.ContextualInstance<T> |
get(org.jboss.weld.serialization.spi.BeanIdentifier id)
Gets an instance of a contextual from the store
|
Set<org.jboss.weld.serialization.spi.BeanIdentifier> |
getContextualIds() |
int |
hashCode() |
Iterator<org.jboss.weld.serialization.spi.BeanIdentifier> |
iterator() |
<T> void |
put(org.jboss.weld.serialization.spi.BeanIdentifier id,
org.jboss.weld.context.api.ContextualInstance<T> beanInstance)
Adds a bean instance to the storage
|
<T> org.jboss.weld.context.api.ContextualInstance<T> |
remove(org.jboss.weld.serialization.spi.BeanIdentifier id)
Removes a bean instance identified by the given id.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public <T> org.jboss.weld.context.api.ContextualInstance<T> get(org.jboss.weld.serialization.spi.BeanIdentifier id)
BeanStore
public void clear()
BeanStore
public boolean contains(org.jboss.weld.serialization.spi.BeanIdentifier id)
BeanStore
public <T> org.jboss.weld.context.api.ContextualInstance<T> remove(org.jboss.weld.serialization.spi.BeanIdentifier id)
BeanStore
public Set<org.jboss.weld.serialization.spi.BeanIdentifier> getContextualIds()
public <T> void put(org.jboss.weld.serialization.spi.BeanIdentifier id, org.jboss.weld.context.api.ContextualInstance<T> beanInstance)
BeanStore
Copyright © 2016. All rights reserved.