Class FlowScopeContext

  • All Implemented Interfaces:
    jakarta.enterprise.context.spi.Context

    @Typed
    public class FlowScopeContext
    extends Object
    implements jakarta.enterprise.context.spi.Context
    Implementation of FlowScope.
    Author:
    Leonardo Uribe
    • Constructor Detail

      • FlowScopeContext

        public FlowScopeContext​(jakarta.enterprise.inject.spi.BeanManager beanManager,
                                Map<Class,​FlowReference> flowBeanReferences)
    • Method Detail

      • getCurrentClientWindowFlowId

        public String getCurrentClientWindowFlowId​(FacesContext facesContext)
      • getScope

        public Class<? extends Annotation> getScope()
        Specified by:
        getScope in interface jakarta.enterprise.context.spi.Context
      • isActive

        public boolean isActive()
        Specified by:
        isActive in interface jakarta.enterprise.context.spi.Context
      • isActive

        public boolean isActive​(FacesContext facesContext)
      • checkActive

        protected void checkActive​(FacesContext facesContext)
      • isPassivatingScope

        public boolean isPassivatingScope()
      • get

        public <T> T get​(jakarta.enterprise.context.spi.Contextual<T> bean)
        Specified by:
        get in interface jakarta.enterprise.context.spi.Context
      • get

        public <T> T get​(jakarta.enterprise.context.spi.Contextual<T> bean,
                         jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
        Specified by:
        get in interface jakarta.enterprise.context.spi.Context
      • destroyAll

        public static void destroyAll​(FacesContext facesContext)