Package com.vaadin.util
Interface CurrentInstanceFallbackResolver<T>
-
- Type Parameters:
T
- the type of the instances returned by this resolver
- All Superinterfaces:
Serializable
public interface CurrentInstanceFallbackResolver<T> extends Serializable
Fallback that is used to revolve current instances when they are not available by regular means.This interface is used internally by the framework and it's not meant for public usage.
- Since:
- 7.7.14
- Author:
- Vaadin Ltd.
- See Also:
CurrentInstance.get(Class)
,CurrentInstance.defineFallbackResolver(Class, CurrentInstanceFallbackResolver)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
resolve()
Resolves a current instance for the typeT
.
-
-
-
Method Detail
-
resolve
T resolve()
Resolves a current instance for the typeT
.- Returns:
- the current instance, or
null
if none can be found
-
-