Class UIScopedContext

  • All Implemented Interfaces:
    io.quarkus.arc.InjectableContext, javax.enterprise.context.spi.AlterableContext, javax.enterprise.context.spi.Context

    public class UIScopedContext
    extends AbstractContext
    UIScopedContext is the context for @NormalUIScoped beans.
    • Constructor Detail

      • UIScopedContext

        public UIScopedContext()
    • Method Detail

      • getContextualStorage

        protected ContextualStorage getContextualStorage​(javax.enterprise.context.spi.Contextual<?> contextual,
                                                         boolean createIfNotExist)
        Description copied from class: AbstractContext
        An implementation has to return the underlying storage which contains the items held in the Context.
        Specified by:
        getContextualStorage in class AbstractContext
        Parameters:
        contextual - the contextual type
        createIfNotExist - whether a ContextualStorage shall get created if it doesn't yet exist.
        Returns:
        the underlying storage
      • isActive

        public boolean isActive()
      • destroy

        public void destroy()
        Specified by:
        destroy in interface io.quarkus.arc.InjectableContext
        Overrides:
        destroy in class AbstractContext
      • getState

        public io.quarkus.arc.InjectableContext.ContextState getState()
        Specified by:
        getState in interface io.quarkus.arc.InjectableContext
        Overrides:
        getState in class AbstractContext