public interface VaadinSessionScope
extends com.holonplatform.core.ContextScope
ContextScope bound to current VaadinSession, looking up context resources using Vaadin Session
attributes.
This scope uses VaadinSession.getCurrent() to obtain the current Vaadin session.
| Modifier and Type | Method and Description |
|---|---|
static Optional<com.holonplatform.core.ContextScope> |
get()
Get the Vaadin Session scope from current context.
|
static com.holonplatform.core.ContextScope |
require()
Get the Vaadin Session scope from current context.
|
static final String NAME
static Optional<com.holonplatform.core.ContextScope> get()
static com.holonplatform.core.ContextScope require()
IllegalStateException - If the Vaadin Session scope is not availableCopyright © 2019 The Holon Platform. All rights reserved.