Class VaadinSessionScopedContext

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

    public class VaadinSessionScopedContext
    extends AbstractContext
    Context for @VaadinSessionScoped beans.

    Stores contextuals in VaadinSession. Other Vaadin CDI contexts are stored in the corresponding VaadinSessionScoped context.

    Since:
    1.0
    • Constructor Detail

      • VaadinSessionScopedContext

        public VaadinSessionScopedContext()
    • 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()