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(BeanIdentifier id)
Check if the store contains an instance
|
protected abstract Map<BeanIdentifier,Object> |
delegate() |
boolean |
equals(Object obj) |
<T> ContextualInstance<T> |
get(BeanIdentifier id)
Gets an instance of a contextual from the store
|
Set<BeanIdentifier> |
getContextualIds() |
int |
hashCode() |
Iterator<BeanIdentifier> |
iterator() |
<T> void |
put(BeanIdentifier id,
ContextualInstance<T> beanInstance)
Adds a bean instance to the storage
|
<T> ContextualInstance<T> |
remove(BeanIdentifier id)
Removes a bean instance identified by the given id.
|
String |
toString() |
protected abstract Map<BeanIdentifier,Object> delegate()
public <T> ContextualInstance<T> get(BeanIdentifier id)
BeanStorepublic void clear()
BeanStorepublic boolean contains(BeanIdentifier id)
BeanStorepublic <T> ContextualInstance<T> remove(BeanIdentifier id)
BeanStorepublic Set<BeanIdentifier> getContextualIds()
public <T> void put(BeanIdentifier id, ContextualInstance<T> beanInstance)
BeanStorepublic Iterator<BeanIdentifier> iterator()
iterator in interface Iterable<BeanIdentifier>iterator in interface BeanStoreCopyright © 2014 Seam Framework. All Rights Reserved.