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(String id)
Check if the store contains an instance
|
protected abstract Map<String,Object> |
delegate() |
boolean |
equals(Object obj) |
<T> org.jboss.weld.context.api.ContextualInstance<T> |
get(String id)
Gets an instance of a contextual from the store
|
Set<String> |
getContextualIds() |
int |
hashCode() |
Iterator<String> |
iterator() |
<T> void |
put(String 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(String id)
Removes a bean instance identified by the given id.
|
String |
toString() |
public <T> org.jboss.weld.context.api.ContextualInstance<T> get(String id)
BeanStore
public void clear()
BeanStore
public boolean contains(String id)
BeanStore
public <T> org.jboss.weld.context.api.ContextualInstance<T> remove(String id)
BeanStore
public <T> void put(String id, org.jboss.weld.context.api.ContextualInstance<T> beanInstance)
BeanStore
Copyright © 2013 Seam Framework. All Rights Reserved.