public class ViewScopeContextualStorage extends Object implements Serializable
| Constructor and Description |
|---|
ViewScopeContextualStorage(javax.enterprise.inject.spi.BeanManager beanManager) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createContextualInstance(javax.enterprise.context.spi.Contextual<T> bean,
javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
void |
deactivate() |
javax.enterprise.context.spi.Contextual<?> |
getBean(FacesContext context,
Object beanKey)
Restores the Bean from its beanKey.
|
<T> Object |
getBeanKey(javax.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(javax.enterprise.inject.spi.BeanManager beanManager)
beanManager - is needed for serialisationpublic Map<Object,ContextualInstanceInfo<?>> getStorage()
public <T> T createContextualInstance(javax.enterprise.context.spi.Contextual<T> bean,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
T - bean - creationalContext - public <T> Object getBeanKey(javax.enterprise.context.spi.Contextual<T> bean)
public javax.enterprise.context.spi.Contextual<?> getBean(FacesContext context, Object beanKey)
public boolean isActive()
public void deactivate()
Copyright © 2025 The Apache Software Foundation. All rights reserved.