|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.context.beanstore.AbstractAttributeBackedBeanStore
org.jboss.weld.servlet.ApplicationBeanStore
public class ApplicationBeanStore
A BeanStore that uses a servlet context as backing storage
AbstractApplicationContext| Constructor Summary | |
|---|---|
ApplicationBeanStore(javax.servlet.ServletContext context)
Constructor |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the bean store |
protected java.lang.Object |
getAttribute(java.lang.String key)
Gets an attribute from the underlying storage |
protected java.util.Enumeration<java.lang.String> |
getAttributeNames()
Gets an enumeration of the attribute names present in the underlying storage |
java.util.Collection<java.lang.String> |
getContextualIds()
Returns the beans present in the store |
protected NamingScheme |
getNamingScheme()
Gets an naming scheme for handling keys in a bean store |
protected void |
removeAttribute(java.lang.String key)
Removes an attribute from the underlying storage |
protected void |
setAttribute(java.lang.String key,
java.lang.Object instance)
Sets an instance under a key in the underlying storage |
| Methods inherited from class org.jboss.weld.context.beanstore.AbstractAttributeBackedBeanStore |
|---|
get, put, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationBeanStore(javax.servlet.ServletContext context)
context - The servlet context instance| Method Detail |
|---|
protected java.lang.Object getAttribute(java.lang.String key)
AbstractAttributeBackedBeanStore
getAttribute in class AbstractAttributeBackedBeanStorekey - The key of the attribute
org.jboss.weld.context.beanstore.AbstractAttributeBackedBeanStore#getAttribute()protected java.util.Enumeration<java.lang.String> getAttributeNames()
AbstractAttributeBackedBeanStore
getAttributeNames in class AbstractAttributeBackedBeanStoreAbstractAttributeBackedBeanStore.getAttributeNames()protected void removeAttribute(java.lang.String key)
AbstractAttributeBackedBeanStore
removeAttribute in class AbstractAttributeBackedBeanStorekey - The attribute to removeorg.jboss.weld.context.beanstore.AbstractAttributeBackedBeanStore#removeAttributes()
protected void setAttribute(java.lang.String key,
java.lang.Object instance)
AbstractAttributeBackedBeanStore
setAttribute in class AbstractAttributeBackedBeanStorekey - The keyinstance - The instanceorg.jboss.weld.context.beanstore.AbstractAttributeBackedBeanStore#setAttribute()protected NamingScheme getNamingScheme()
AbstractAttributeBackedBeanStore
getNamingScheme in class AbstractAttributeBackedBeanStorepublic java.util.Collection<java.lang.String> getContextualIds()
AbstractAttributeBackedBeanStore
getContextualIds in interface org.jboss.weld.context.api.BeanStoregetContextualIds in class AbstractAttributeBackedBeanStorepublic void clear()
AbstractAttributeBackedBeanStore
clear in interface org.jboss.weld.context.api.BeanStoreclear in class AbstractAttributeBackedBeanStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||