Interface BoundBeanStore

All Superinterfaces:
BeanStore, Iterable<org.jboss.weld.serialization.spi.BeanIdentifier>
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 Details

    • 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