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.
Class OsgiVaadinResources
- java.lang.Object
-
- com.vaadin.osgi.resources.OsgiVaadinResources
-
public class OsgiVaadinResources extends Object
BundleActivator
used to provide access to theVaadinResourceService
singleton for publishing themes, widgetsets and other necessary resources.Since:
8.1
Author:
Vaadin Ltd.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
OsgiVaadinResources.ResourceBundleInactiveException
Thrown if a method is called when the Resource bundle is not active.
-
Constructor Summary
Constructors Constructor and Description OsgiVaadinResources()
-
Method Summary
All Methods Modifier and Type Method and Description static VaadinResourceService
getService()
Returns the
VaadinResourceService
instance.void
start(BundleContext context)
void
stop(BundleContext context)
-
-
-
Method Detail
-
getService
public static VaadinResourceService getService() throws OsgiVaadinResources.ResourceBundleInactiveException
Returns the
VaadinResourceService
instance. Always returns non-null.Returns:
the
resource service
to use for publishing themes, widgetsets and other necessary resourcesThrows:
OsgiVaadinResources.ResourceBundleInactiveException
- if the bundle is not active
-
-