org.jboss.weld.context.beanstore.http
Class LazyCyclicSessionBeanStore
java.lang.Object
org.jboss.weld.context.beanstore.AttributeBeanStore
org.jboss.weld.context.beanstore.http.AbstractSessionBeanStore
org.jboss.weld.context.beanstore.http.LazySessionBeanStore
org.jboss.weld.context.beanstore.http.LazyCyclicSessionBeanStore
- All Implemented Interfaces:
- Iterable<String>, BeanStore, BoundBeanStore
public class LazyCyclicSessionBeanStore
- extends LazySessionBeanStore
This session bean store knows how to handle cyclic bean creation.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyCyclicSessionBeanStore
public LazyCyclicSessionBeanStore(javax.servlet.http.HttpServletRequest request,
NamingScheme namingScheme)
getSession
protected javax.servlet.http.HttpSession getSession(boolean create)
- Overrides:
getSession
in class LazySessionBeanStore
getAttributeNames
protected Collection<String> getAttributeNames()
- Description copied from class:
AttributeBeanStore
- Gets an enumeration of the attribute names present in the underlying
storage
- Overrides:
getAttributeNames
in class AbstractSessionBeanStore
- Returns:
- The attribute names
removeAttribute
protected void removeAttribute(String key)
- Description copied from class:
AttributeBeanStore
- Removes an attribute from the underlying storage
- Overrides:
removeAttribute
in class AbstractSessionBeanStore
- Parameters:
key
- The (prefixed) id of the attribute to remove
setAttribute
protected void setAttribute(String key,
Object instance)
- Description copied from class:
AttributeBeanStore
- Sets an instance under a key in the underlying storage
- Overrides:
setAttribute
in class AbstractSessionBeanStore
- Parameters:
key
- The (prefixed) id of the attribute to setinstance
- The instance
getAttribute
protected Object getAttribute(String prefixedId)
- Description copied from class:
AttributeBeanStore
- Gets an attribute from the underlying storage
- Overrides:
getAttribute
in class AbstractSessionBeanStore
- Parameters:
prefixedId
- The (prefixed) id of the attribute
- Returns:
- The data
Copyright © 2013 Seam Framework. All Rights Reserved.