com.vaadin.flow.server.startup.
Class WebComponentConfigurationRegistryInitializer
All Implemented Interfaces:
ClassLoaderAwareServletContainerInitializer, VaadinContextStartupInitializer, VaadinServletContextStartupInitializer, jakarta.servlet.ServletContainerInitializer
Servlet initializer for collecting all classes that extend
WebComponentExporter/WebComponentExporterFactory on startup,
creates unique WebComponentConfiguration instances, and adds them to
WebComponentConfigurationRegistry.
For internal use only. May be renamed or removed in a future release.
Since:
2.0
Author:
Vaadin Ltd.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(Set<Class<?>> classSet, VaadinContext context) Applies this initializer to the given context
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.server.startup.ClassLoaderAwareServletContainerInitializer
onStartup, requiresLookupMethods inherited from interface com.vaadin.flow.server.startup.VaadinServletContextStartupInitializer
process
-
Constructor Details
-
WebComponentConfigurationRegistryInitializer
public WebComponentConfigurationRegistryInitializer()
-
-
Method Details
-
initialize
public void initialize(Set<Class<?>> classSet, VaadinContext context) throws VaadinInitializerException Description copied from interface:
VaadinContextStartupInitializerApplies this initializer to the given context
Specified by:
initializein interfaceVaadinContextStartupInitializerParameters:
classSet- the Set of application classes which this initializer needs to do its jobcontext- theVaadinContextto use with this initializerThrows:
VaadinInitializerException- if an error has occurred
-