Class ViewScopeExtension

java.lang.Object
org.omnifaces.cdi.viewscope.ViewScopeExtension
All Implemented Interfaces:
Extension

public class ViewScopeExtension extends Object implements Extension
Register the CDI view scope context.
Since:
1.6
Author:
Radu Creanga <rdcrng@gmail.com>, Bauke Scholtz
See Also:
  • Constructor Details

    • ViewScopeExtension

      public ViewScopeExtension()
  • Method Details

    • afterBeanDiscovery

      protected void afterBeanDiscovery(@Observes AfterBeanDiscovery event)
      Register a new view scope context, wrapping the given bean manager and view scope manager bean, in the current CDI context.
      Parameters:
      event - The after bean discovery event.