Example usage for Java com.vaadin.util CurrentInstance fields, constructors, methods, implement or subclass
The text is from its open source code.
void | clearAll() Clears all current instances. |
T | get(Class Gets the current instance of a specific type if available. |
void | restoreInstances(Map Restores the given instances to the given values. |
CurrentInstance | set(Class Sets the current instance of the given type. |
Map | setCurrent(UI ui) Sets current instances for the UI and all related classes. |
Map | setCurrent(VaadinSession session) Sets current instances for the VaadinSession and all related classes. |