Class ThemeWrapper
java.lang.Object
io.jmix.flowui.devserver.frontend.scanner.ThemeWrapper
- All Implemented Interfaces:
com.vaadin.flow.theme.AbstractTheme
,Serializable
public class ThemeWrapper
extends Object
implements com.vaadin.flow.theme.AbstractTheme, Serializable
A wrapper for the Theme instance that use reflection for executing its
methods. This is needed because updaters can be executed from maven plugins
that use different classloaders for the running process and for the project
configuration.
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ThemeWrapper
public ThemeWrapper(Class<? extends com.vaadin.flow.theme.AbstractTheme> theme) throws InstantiationException, IllegalAccessException
-
-
Method Details
-
getBaseUrl
- Specified by:
getBaseUrl
in interfacecom.vaadin.flow.theme.AbstractTheme
-
getThemeUrl
- Specified by:
getThemeUrl
in interfacecom.vaadin.flow.theme.AbstractTheme
-
getHtmlAttributes
- Specified by:
getHtmlAttributes
in interfacecom.vaadin.flow.theme.AbstractTheme
-
getHeaderInlineContents
- Specified by:
getHeaderInlineContents
in interfacecom.vaadin.flow.theme.AbstractTheme
-
translateUrl
- Specified by:
translateUrl
in interfacecom.vaadin.flow.theme.AbstractTheme
-