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.flow.server.webcomponent.
Class OSGiWebComponentConfigurationRegistry
- java.lang.Object
-
- com.vaadin.flow.server.webcomponent.WebComponentConfigurationRegistry
-
- com.vaadin.flow.server.webcomponent.OSGiWebComponentConfigurationRegistry
-
All Implemented Interfaces:
public class OSGiWebComponentConfigurationRegistry extends WebComponentConfigurationRegistry
Data collector component for collecting web components in an OSGi environment.
Since:
2.0
Author:
Vaadin Ltd.
See Also:
-
-
Constructor Summary
Constructors Constructor and Description OSGiWebComponentConfigurationRegistry()
-
Method Summary
All Methods Modifier and Type Method and Description boolean
setConfigurations(Set<WebComponentConfiguration<? extends Component>> configurations)
Registers all available web component configurations to the registry.
-
Methods inherited from class com.vaadin.flow.server.webcomponent.WebComponentConfigurationRegistry
getConfiguration, getConfigurations, getConfigurationsByComponentType, getEmbeddedApplicationAnnotation, getInstance, getShadowDomElements, hasConfigurations, setShadowDomElements, updateRegistry
-
-
-
-
Constructor Detail
-
OSGiWebComponentConfigurationRegistry
public OSGiWebComponentConfigurationRegistry()
-
-
Method Detail
-
setConfigurations
public boolean setConfigurations(Set<WebComponentConfiguration<? extends Component>> configurations)
Description copied from class:
WebComponentConfigurationRegistry
Registers all available web component configurations to the registry.
This can be done only once and any following set should only return false.
Overrides:
setConfigurations
in classWebComponentConfigurationRegistry
Parameters:
configurations
- set of web component configurations to register. These configurations must have both unique and valid tag names.Returns:
true
if set successfully orfalse
if not set
-
-