Java com.vaadin.util CurrentInstance fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.util CurrentInstance fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.util CurrentInstance.

The text is from its open source code.

Method

voidclearAll()
Clears all current instances.
Tget(Class type)
Gets the current instance of a specific type if available.
voidrestoreInstances(Map, CurrentInstance> old)
Restores the given instances to the given values.
CurrentInstanceset(Class type, T instance)
Sets the current instance of the given type.
Map,CurrentInstance>setCurrent(UI ui)
Sets current instances for the UI and all related classes.
Map,CurrentInstance>setCurrent(VaadinSession session)
Sets current instances for the VaadinSession and all related classes.