public class VaadinSessionScopedContext
extends org.apache.deltaspike.core.util.context.AbstractContext
VaadinSessionScoped.
Stores contextuals in VaadinSession.
Other Vaadin CDI contexts are stored in the corresponding VaadinSessionScoped context.| Constructor and Description |
|---|
VaadinSessionScopedContext(javax.enterprise.inject.spi.BeanManager beanManager) |
| Modifier and Type | Method and Description |
|---|---|
static void |
destroy(com.vaadin.server.VaadinSession session) |
protected org.apache.deltaspike.core.util.context.ContextualStorage |
getContextualStorage(javax.enterprise.context.spi.Contextual<?> contextual,
boolean createIfNotExist) |
Class<? extends Annotation> |
getScope() |
static boolean |
guessContextIsUndeployed()
Guess whether this context is undeployed.
|
boolean |
isActive() |
public VaadinSessionScopedContext(javax.enterprise.inject.spi.BeanManager beanManager)
protected org.apache.deltaspike.core.util.context.ContextualStorage getContextualStorage(javax.enterprise.context.spi.Contextual<?> contextual,
boolean createIfNotExist)
getContextualStorage in class org.apache.deltaspike.core.util.context.AbstractContextpublic Class<? extends Annotation> getScope()
public boolean isActive()
public static void destroy(com.vaadin.server.VaadinSession session)
public static boolean guessContextIsUndeployed()
Copyright © 2018 Vaadin Ltd. All Rights Reserved.