com.vaadin.osgi.resources.

Interface OsgiVaadinTheme

  • All Superinterfaces:

    OsgiVaadinResource

    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.