|
||||||||||
| 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<javax.context.Contextual<? extends java.lang.Object>,java.lang.Object> |
delegate()
|
|
|
get(javax.context.Contextual<? extends T> bean)
Gets an instance from the store |
|
java.util.Set<javax.context.Contextual<? extends java.lang.Object>> |
getBeans()
Returns the beans contained in the store |
|
|
put(javax.context.Contextual<? extends T> bean,
T instance)
Puts a bean instance under the bean key in the store |
|
|
remove(javax.context.Contextual<? extends T> bean)
Removed a instance from 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<javax.context.Contextual<? extends java.lang.Object>,java.lang.Object> delegate()
public <T> T get(javax.context.Contextual<? extends T> bean)
get in interface BeanStoreThe - bean to look for
org.jboss.webbeans.context.api.BeanStore#get(Bean)public <T> T remove(javax.context.Contextual<? extends T> bean)
remove in interface BeanStorebean - the bean to remove
org.jboss.webbeans.context.api.BeanStore#remove(Bean)public void clear()
clear in interface BeanStoreBeanStore.clear()public java.util.Set<javax.context.Contextual<? extends java.lang.Object>> getBeans()
getBeans in interface BeanStoreBeanStore.getBeans()
public <T> void put(javax.context.Contextual<? extends T> bean,
T instance)
put in interface BeanStorebean - The beaninstance - the instanceorg.jboss.webbeans.context.api.BeanStore#put(Bean, 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 | |||||||||