public class ViewScopeContextualStorage extends Object implements Serializable
| Constructor and Description | 
|---|
| ViewScopeContextualStorage(jakarta.enterprise.inject.spi.BeanManager beanManager) | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | createContextualInstance(jakarta.enterprise.context.spi.Contextual<T> bean,
                        jakarta.enterprise.context.spi.CreationalContext<T> creationalContext) | 
| void | deactivate() | 
| jakarta.enterprise.context.spi.Contextual<?> | getBean(FacesContext context,
       Object beanKey)Restores the Bean from its beanKey. | 
| <T> Object | getBeanKey(jakarta.enterprise.context.spi.Contextual<T> bean)If the context is a passivating scope then we return
 the passivationId of the Bean. | 
| Map<String,Object> | getNameBeanKeyMap() | 
| Map<Object,ContextualInstanceInfo<?>> | getStorage() | 
| boolean | isActive() | 
public ViewScopeContextualStorage(jakarta.enterprise.inject.spi.BeanManager beanManager)
beanManager - is needed for serialisationpublic Map<Object,ContextualInstanceInfo<?>> getStorage()
public <T> T createContextualInstance(jakarta.enterprise.context.spi.Contextual<T> bean,
                                      jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
T - bean - creationalContext - public <T> Object getBeanKey(jakarta.enterprise.context.spi.Contextual<T> bean)
public jakarta.enterprise.context.spi.Contextual<?> getBean(FacesContext context, Object beanKey)
public boolean isActive()
public void deactivate()
Copyright © 2022 The Apache Software Foundation. All rights reserved.