Class ViewScopeExtension

java.lang.Object
com.sun.faces.application.view.ViewScopeExtension
All Implemented Interfaces:
jakarta.enterprise.inject.spi.Extension

public class ViewScopeExtension
extends Object
implements jakarta.enterprise.inject.spi.Extension
The CDI extension that makes ViewScoped beans work in a CDI context.
  • Constructor Summary

    Constructors 
    Constructor Description
    ViewScopeExtension()
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    void afterBeanDiscovery​(jakarta.enterprise.inject.spi.AfterBeanDiscovery event, jakarta.enterprise.inject.spi.BeanManager beanManager)
    After bean discovery.
    void beforeBeanDiscovery​(jakarta.enterprise.inject.spi.BeforeBeanDiscovery event, jakarta.enterprise.inject.spi.BeanManager beanManager)  
    void processBean​(jakarta.enterprise.inject.spi.ProcessBean<?> event)
    Processing bean.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • processBean

      public void processBean​(@Observes jakarta.enterprise.inject.spi.ProcessBean<?> event)
      Processing bean.
      Parameters:
      event - the event.
    • beforeBeanDiscovery

      public void beforeBeanDiscovery​(@Observes jakarta.enterprise.inject.spi.BeforeBeanDiscovery event, jakarta.enterprise.inject.spi.BeanManager beanManager)
    • afterBeanDiscovery

      public void afterBeanDiscovery​(@Observes jakarta.enterprise.inject.spi.AfterBeanDiscovery event, jakarta.enterprise.inject.spi.BeanManager beanManager)
      After bean discovery.
      Parameters:
      event - the event.