diff options
author | Henri Sara <hesara@vaadin.com> | 2017-04-25 13:49:14 +0300 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-04-25 15:01:06 +0300 |
commit | 54e36557c3062d1d5b5fabef561e34847ecde9be (patch) | |
tree | 405b709e5f7552ddfae6a588b534b47df2674d12 /shared | |
parent | 87cfeb9c4d7f21d3e87d95d99b3f722fd7fa4d69 (diff) | |
download | vaadin-framework-54e36557c3062d1d5b5fabef561e34847ecde9be.tar.gz vaadin-framework-54e36557c3062d1d5b5fabef561e34847ecde9be.zip |
Clarify javadoc for OSGi related interfaces
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/osgi/resources/OSGiVaadinTheme.java | 5 | ||||
-rw-r--r-- | shared/src/main/java/com/vaadin/osgi/resources/OSGiVaadinWidgetset.java | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/osgi/resources/OSGiVaadinTheme.java b/shared/src/main/java/com/vaadin/osgi/resources/OSGiVaadinTheme.java index 9507dfe6f4..852dd93294 100644 --- a/shared/src/main/java/com/vaadin/osgi/resources/OSGiVaadinTheme.java +++ b/shared/src/main/java/com/vaadin/osgi/resources/OSGiVaadinTheme.java @@ -20,6 +20,11 @@ package com.vaadin.osgi.resources; * in the same OSGi bundle as the class implementing this interface, under the * path "/VAADIN/themes/{themeName}" where {themeName} is what is returned by * {@link OSGiVaadinTheme#getName()}. + * <p> + * To publish a theme, an implementation of this interface needs to be + * registered as an OSGi service, which makes + * <code>VaadinResourceTrackerComponent</code> automatically publish the theme + * with the given name. * * @author Vaadin Ltd. * diff --git a/shared/src/main/java/com/vaadin/osgi/resources/OSGiVaadinWidgetset.java b/shared/src/main/java/com/vaadin/osgi/resources/OSGiVaadinWidgetset.java index 45bf0c4f6a..c594443687 100644 --- a/shared/src/main/java/com/vaadin/osgi/resources/OSGiVaadinWidgetset.java +++ b/shared/src/main/java/com/vaadin/osgi/resources/OSGiVaadinWidgetset.java @@ -20,6 +20,11 @@ package com.vaadin.osgi.resources; * 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 by {@link OSGiVaadinWidgetset#getName()}. + * <p> + * To publish a widgetset, an implementation of this interface needs to be + * registered as an OSGi service, which makes + * <code>VaadinResourceTrackerComponent</code> automatically publish the + * widgetset with the given name. * * @author Vaadin Ltd. * |