Package org.omnifaces.cdi.viewscope
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:
ViewScoped
,ViewScopeContext
,ViewScopeManager
-
-
Constructor Summary
Constructors Constructor Description ViewScopeExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterBeanDiscovery(AfterBeanDiscovery event)
Register a new view scope context, wrapping the given bean manager and view scope manager bean, in the current CDI context.
-
-
-
Method Detail
-
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.
-
-