Class ViewTransientScopeBeanHolder


  • public class ViewTransientScopeBeanHolder
    extends Object
    Stateless class to deal with ViewTransientScope. This scope depends on the current FacesContext.
    • Constructor Detail

      • ViewTransientScopeBeanHolder

        public ViewTransientScopeBeanHolder()
    • Method Detail

      • init

        public void init()
      • getContextualStorage

        public ContextualStorage getContextualStorage​(javax.enterprise.inject.spi.BeanManager beanManager,
                                                      FacesContext facesContext)
      • getContextualStorageNoCreate

        public ContextualStorage getContextualStorageNoCreate​(javax.enterprise.inject.spi.BeanManager beanManager,
                                                              FacesContext facesContext)
      • getViewTransientScopeMap

        public Map<Object,​Object> getViewTransientScopeMap​(javax.enterprise.inject.spi.BeanManager beanManager,
                                                                 FacesContext facesContext,
                                                                 boolean create)
      • forceNewStorage

        public ContextualStorage forceNewStorage​(FacesContext facesContext)
        This method will replace the storageMap and with a new empty one.
        Parameters:
        facesContext -
        Returns:
        the old storageMap.
      • destroyBeans

        public void destroyBeans​(FacesContext facesContext)