VaadinResourceServicepublic class OsgiVaadinResources extends Object implements org.osgi.framework.BundleActivator
BundleActivator used to provide access to the
VaadinResourceService singleton for publishing themes, widgetsets and
other necessary resources.| Modifier and Type | Class and Description |
|---|---|
static class |
OsgiVaadinResources.ResourceBundleInactiveException
Deprecated.
Thrown if a method is called when the Resource bundle is not active.
|
| Constructor and Description |
|---|
OsgiVaadinResources()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static VaadinResourceService |
getService()
Deprecated.
Returns the
VaadinResourceService instance. |
void |
start(org.osgi.framework.BundleContext context)
Deprecated.
|
void |
stop(org.osgi.framework.BundleContext context)
Deprecated.
|
public static VaadinResourceService getService() throws OsgiVaadinResources.ResourceBundleInactiveException
VaadinResourceService instance. Always returns
non-null.resource service to use for
publishing themes, widgetsets and other necessary resourcesOsgiVaadinResources.ResourceBundleInactiveException - if the bundle is not activepublic void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorExceptionCopyright © 2021 Vaadin Ltd. All rights reserved.