|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.context.api.helpers.AbstractMapBackedBeanStore
public abstract class AbstractMapBackedBeanStore
| Constructor Summary | |
|---|---|
AbstractMapBackedBeanStore()
|
|
| Method Summary | ||
|---|---|---|
void |
clear()
Clears the store |
|
abstract java.util.Map<Contextual<? extends java.lang.Object>,BeanInstance<? extends java.lang.Object>> |
delegate()
|
|
|
get(Contextual<? extends T> bean)
Gets an instance from the store |
|
java.util.Set<Contextual<? extends java.lang.Object>> |
getBeans()
Returns the beans contained in the store |
|
|
put(BeanInstance<T> beanInstance)
Puts a bean instance under the bean key in the store |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractMapBackedBeanStore()
| Method Detail |
|---|
public abstract java.util.Map<Contextual<? extends java.lang.Object>,BeanInstance<? extends java.lang.Object>> delegate()
public <T> BeanInstance<T> get(Contextual<? extends T> bean)
get in interface BeanStoreThe - bean to look for
org.jboss.webbeans.context.api.BeanStore#get(BaseBean)public void clear()
clear in interface BeanStoreBeanStore.clear()public java.util.Set<Contextual<? extends java.lang.Object>> getBeans()
getBeans in interface BeanStoreBeanStore.getBeans()public <T> void put(BeanInstance<T> beanInstance)
put in interface BeanStorebean - The beaninstance - the instanceorg.jboss.webbeans.context.api.BeanStore#put(Contextual, Object)public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||