Package com.vaadin.osgi.resources
Interface OsgiVaadinWidgetset
-
- All Superinterfaces:
OsgiVaadinResource
public interface OsgiVaadinWidgetset extends OsgiVaadinResource
Used to declare a Vaadin Widgetset for use in OSGi. The widgetset is expected to be in the same OSGi bundle as the class implementing this interface, under the path "/VAADIN/widgetsets/{widgetsetName}" where {widgetsetName} is what is returned bygetName()
.To publish a widgetset, an implementation of this interface needs to be registered as an OSGi service, which makes
VaadinResourceTrackerComponent
automatically publish the widgetset with the given name.- Since:
- 8.1
- Author:
- Vaadin Ltd.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static OsgiVaadinWidgetset
create(String name)
String
getName()
Return the widgetset name to publish for OSGi.
-
-
-
Method Detail
-
getName
String getName()
Return the widgetset name to publish for OSGi.- Specified by:
getName
in interfaceOsgiVaadinResource
- Returns:
- widgetset name, not null
-
create
static OsgiVaadinWidgetset create(String name)
-
-