|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.context.api.helpers.ForwardingBeanStore
public abstract class ForwardingBeanStore
| Constructor Summary | |
|---|---|
ForwardingBeanStore()
|
|
| Method Summary | ||
|---|---|---|
void |
clear()
Clears the storage of any bean instances |
|
protected abstract BeanStore |
delegate()
|
|
boolean |
equals(java.lang.Object obj)
|
|
|
get(javax.context.Contextual<? extends T> bean)
Gets an instance of a bean from the storage. |
|
java.lang.Iterable<javax.context.Contextual<? extends java.lang.Object>> |
getBeans()
Returns an Iterable over the current contents in the storage |
|
int |
hashCode()
|
|
|
put(javax.context.Contextual<? extends T> bean,
T instance)
Adds a bean instance to the storage |
|
|
remove(javax.context.Contextual<? extends T> bean)
Removes an instance of a bean from the storage |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForwardingBeanStore()
| Method Detail |
|---|
protected abstract BeanStore delegate()
public void clear()
BeanStore
clear in interface BeanStorepublic <T> T get(javax.context.Contextual<? extends T> bean)
BeanStore
get in interface BeanStorebean - The bean whose instance to return
public java.lang.Iterable<javax.context.Contextual<? extends java.lang.Object>> getBeans()
BeanStore
getBeans in interface BeanStore
public <T> void put(javax.context.Contextual<? extends T> bean,
T instance)
BeanStore
put in interface BeanStorebean - The bean type. Used as keyinstance - The instance to addpublic <T> T remove(javax.context.Contextual<? extends T> bean)
BeanStore
remove in interface BeanStorebean - The bean whose instance to remove
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||