| Package | Description |
|---|---|
| com.vaadin.flow.internal |
| Modifier and Type | Method and Description |
|---|---|
static Map<Class<?>,CurrentInstance> |
CurrentInstance.getInstances()
Gets the currently set instances so that they can later be restored using
restoreInstances(Map). |
static Map<Class<?>,CurrentInstance> |
CurrentInstance.setCurrent(UI ui)
Sets current instances for the UI and all related classes.
|
static Map<Class<?>,CurrentInstance> |
CurrentInstance.setCurrent(VaadinSession session)
Sets current instances for the
VaadinSession and all related
classes. |
| Modifier and Type | Method and Description |
|---|---|
static void |
CurrentInstance.restoreInstances(Map<Class<?>,CurrentInstance> old)
Restores the given instances to the given values.
|
Copyright © 2020. All rights reserved.