Class ViewScopedContext

java.lang.Object
org.apache.deltaspike.core.util.context.AbstractContext
com.vaadin.cdi.internal.ViewScopedContext
All Implemented Interfaces:
jakarta.enterprise.context.spi.Context

public class ViewScopedContext extends org.apache.deltaspike.core.util.context.AbstractContext
ViewScopedContext is the context for @ViewScoped beans.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ViewScopedContext(jakarta.enterprise.inject.spi.BeanManager beanManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.deltaspike.core.util.context.ContextualStorage
    getContextualStorage(jakarta.enterprise.context.spi.Contextual<?> contextual, boolean createIfNotExist)
     
    Class<? extends Annotation>
     
    void
    init(jakarta.enterprise.inject.spi.BeanManager beanManager)
     
    boolean
     

    Methods inherited from class org.apache.deltaspike.core.util.context.AbstractContext

    checkActive, destroy, destroyAllActive, destroyAllActive, destroyBean, get, get, getActiveContextualStorages, isPassivatingScope

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ViewScopedContext

      public ViewScopedContext(jakarta.enterprise.inject.spi.BeanManager beanManager)
  • Method Details

    • getContextualStorage

      protected org.apache.deltaspike.core.util.context.ContextualStorage getContextualStorage(jakarta.enterprise.context.spi.Contextual<?> contextual, boolean createIfNotExist)
      Specified by:
      getContextualStorage in class org.apache.deltaspike.core.util.context.AbstractContext
    • init

      public void init(jakarta.enterprise.inject.spi.BeanManager beanManager)
    • getScope

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

      public boolean isActive()