Interface BoundBeanStore
-
- All Known Implementing Classes:
AttributeBeanStore
,MapBeanStore
,SessionMapBeanStore
public interface BoundBeanStore extends BeanStore
A bean store may be bound to some external data store, for example a Http Session.
- Author:
- Pete Muir
- See Also:
BoundContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
attach()
Attach the contextboolean
detach()
Detach the contextboolean
isAttached()
Return true if the bean store is attached-
Methods inherited from interface org.jboss.weld.contexts.beanstore.BeanStore
clear, contains, get, iterator, lock, put, remove
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
detach
boolean detach()
Detach the context- Returns:
- true if the bean store was detached, or false if the bean store is already detached
-
attach
boolean attach()
Attach the context- Returns:
- true if the bean store was attached, or false if the bean store is already attached
-
isAttached
boolean isAttached()
Return true if the bean store is attached- Returns:
- true if the bean store is attached or false if the bean store has been detached
-
-