We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.osgi.resources.
Interface OsgiVaadinTheme
-
All Superinterfaces:
public interface OsgiVaadinTheme extends OsgiVaadinResource
Used to declare a Vaadin Theme for use in OSGi. The theme is expected to be in the same OSGi bundle as the class implementing this interface, under the path "/VAADIN/themes/{themeName}" where {themeName} is what is returned by
getName()
.To publish a theme, an implementation of this interface needs to be registered as an OSGi service, which makes
VaadinResourceTrackerComponent
automatically publish the theme with the given name.Since:
8.1
Author:
Vaadin Ltd.
-
-
Method Summary
All Methods Modifier and Type Method Description static OsgiVaadinTheme
create(String name)
String
getName()
Return the theme name to publish for OSGi.
-
-
-
Method Detail
-
getName
String getName()
Return the theme name to publish for OSGi.
Specified by:
getName
in interfaceOsgiVaadinResource
Returns:
theme name, not null
-
create
static OsgiVaadinTheme create(String name)
-
-