public class ViewScopeExtension extends Object implements Extension
ViewScoped
,
ViewScopeContext
,
ViewScopeManager
Constructor and Description |
---|
ViewScopeExtension() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterBeanDiscovery(AfterBeanDiscovery event,
BeanManager manager)
Register a new view scope context, wrapping the given bean manager and view scope manager bean, in the current
CDI context.
|
protected void |
processManagedBeans(ProcessManagedBean<ViewScopeManager> event)
Obtain an instance of the view scope manager bean.
|
protected void processManagedBeans(@Observes ProcessManagedBean<ViewScopeManager> event)
event
- The process managed bean event.protected void afterBeanDiscovery(@Observes AfterBeanDiscovery event, BeanManager manager)
event
- The after bean discovery event.manager
- The bean manager.