|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.context.beanstore.AbstractAttributeBackedBeanStore
org.jboss.webbeans.servlet.HttpRequestSessionBeanStore
public class HttpRequestSessionBeanStore
Abstracts the servlet API specific session context as a BeanStore. Actual sessions are created lazily.
Constructor Summary | |
---|---|
HttpRequestSessionBeanStore(javax.servlet.http.HttpServletRequest request)
Constructor |
Method Summary | |
---|---|
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 |
protected BeanStoreNamingScheme |
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.webbeans.context.beanstore.AbstractAttributeBackedBeanStore |
---|
clear, get, getBeans, put, remove, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpRequestSessionBeanStore(javax.servlet.http.HttpServletRequest request)
session
- The HTTP sessionMethod Detail |
---|
protected java.lang.Object getAttribute(java.lang.String key)
AbstractAttributeBackedBeanStore
getAttribute
in class AbstractAttributeBackedBeanStore
key
- The key of the attribute
org.jboss.webbeans.context.beanstore.AbstractAttributeBackedBeanStore#getAttribute()
protected java.util.Enumeration<java.lang.String> getAttributeNames()
AbstractAttributeBackedBeanStore
getAttributeNames
in class AbstractAttributeBackedBeanStore
AbstractAttributeBackedBeanStore.getAttributeNames()
protected void removeAttribute(java.lang.String key)
AbstractAttributeBackedBeanStore
removeAttribute
in class AbstractAttributeBackedBeanStore
key
- The attribute to removeorg.jboss.webbeans.context.beanstore.AbstractAttributeBackedBeanStore#removeAttributes()
protected void setAttribute(java.lang.String key, java.lang.Object instance)
AbstractAttributeBackedBeanStore
setAttribute
in class AbstractAttributeBackedBeanStore
key
- The keyinstance
- The instanceorg.jboss.webbeans.context.beanstore.AbstractAttributeBackedBeanStore#setAttribute()
protected BeanStoreNamingScheme getNamingScheme()
AbstractAttributeBackedBeanStore
getNamingScheme
in class AbstractAttributeBackedBeanStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |