|
||||||||||
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>,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(Contextual<? extends T> bean,
T instance)
Puts a bean instance under the bean key in the store |
|
|
remove(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<Contextual<? extends java.lang.Object>,java.lang.Object> delegate()
public <T> T get(Contextual<? extends T> bean)
get
in interface BeanStore
The
- bean to look for
org.jboss.webbeans.context.api.BeanStore#get(Bean)
public <T> T remove(Contextual<? extends T> bean)
remove
in interface BeanStore
bean
- the bean to remove
org.jboss.webbeans.context.api.BeanStore#remove(Bean)
public void clear()
clear
in interface BeanStore
BeanStore.clear()
public java.util.Set<Contextual<? extends java.lang.Object>> getBeans()
getBeans
in interface BeanStore
BeanStore.getBeans()
public <T> void put(Contextual<? extends T> bean, T instance)
put
in interface BeanStore
bean
- 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 |