Class RouteScopedContext

java.lang.Object
com.vaadin.quarkus.context.AbstractContext
com.vaadin.quarkus.context.RouteScopedContext
All Implemented Interfaces:
io.quarkus.arc.InjectableContext, jakarta.enterprise.context.spi.AlterableContext, jakarta.enterprise.context.spi.Context

public class RouteScopedContext extends AbstractContext
Context for NormalRouteScoped beans.
  • Constructor Details

    • RouteScopedContext

      public RouteScopedContext()
  • Method Details

    • getScope

      public Class<? extends Annotation> getScope()
    • isActive

      public boolean isActive()
    • getContextualStorage

      protected ContextualStorage getContextualStorage(jakarta.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
    • getActiveContextualStorages

      protected List<ContextualStorage> getActiveContextualStorages()
      Description copied from class: AbstractContext
      Gets all active contextual storages.
      Overrides:
      getActiveContextualStorages in class AbstractContext
      Returns:
      a list of contextual storages.