com.vaadin.flow.server.startup.
Class WebComponentConfigurationRegistryInitializer
- java.lang.Object
-
- com.vaadin.flow.server.startup.WebComponentConfigurationRegistryInitializer
-
All Implemented Interfaces:
ClassLoaderAwareServletContainerInitializer
,VaadinContextStartupInitializer
,VaadinServletContextStartupInitializer
,javax.servlet.ServletContainerInitializer
public class WebComponentConfigurationRegistryInitializer extends Object implements VaadinServletContextStartupInitializer
Servlet initializer for collecting all classes that extend
WebComponentExporter
/WebComponentExporterFactory
on startup, creates uniqueWebComponentConfiguration
instances, and adds them toWebComponentConfigurationRegistry
.For internal use only. May be renamed or removed in a future release.
Since:
2.0
Author:
Vaadin Ltd.
-
-
Constructor Summary
Constructors Constructor Description WebComponentConfigurationRegistryInitializer()
-
Method Summary
All Methods Modifier and Type Method Description void
initialize(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, wait
-
Methods inherited from interface com.vaadin.flow.server.startup.ClassLoaderAwareServletContainerInitializer
onStartup, requiresLookup
-
Methods inherited from interface com.vaadin.flow.server.startup.VaadinServletContextStartupInitializer
process
-
-
-
-
Method Detail
-
initialize
public void initialize(Set<Class<?>> classSet, VaadinContext context) throws VaadinInitializerException
Description copied from interface:
VaadinContextStartupInitializer
Applies this initializer to the given context
Specified by:
initialize
in interfaceVaadinContextStartupInitializer
Parameters:
classSet
- the Set of application classes which this initializer needs to do its jobcontext
- theVaadinContext
to use with this initializerThrows:
VaadinInitializerException
- if an error has occurred
-
-