com.vaadin.flow.server.startup.
Class RouteRegistryInitializer
- java.lang.Object
-
- com.vaadin.flow.server.startup.AbstractRouteRegistryInitializer
-
- com.vaadin.flow.server.startup.RouteRegistryInitializer
-
All Implemented Interfaces:
public class RouteRegistryInitializer extends AbstractRouteRegistryInitializer implements ClassLoaderAwareServletContainerInitializer
Servlet initializer for collecting all available
Route
s on startup.For internal use only. May be renamed or removed in a future release.
Since:
1.0
See Also:
-
-
Constructor Summary
Constructors Constructor and Description RouteRegistryInitializer()
-
Method Summary
All Methods Modifier and Type Method and Description void
process(Set<Class<?>> classSet, ServletContext servletContext)
Implement this method instead of
ClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)
to handle classes accessible by different classloaders.-
Methods inherited from class com.vaadin.flow.server.startup.AbstractRouteRegistryInitializer
validatePwaClass, validateRouteClasses
-
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
-
-
-
-
Method Detail
-
process
public void process(Set<Class<?>> classSet, ServletContext servletContext) throws ServletException
Description copied from interface:
ClassLoaderAwareServletContainerInitializer
Implement this method instead of
ClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)
to handle classes accessible by different classloaders.Specified by:
process
in interfaceClassLoaderAwareServletContainerInitializer
Parameters:
classSet
- the Set of application classes that extend, implement, or have been annotated with the class types specified by theHandlesTypes
annotation, or null if there are no matches, or this ServletContainerInitializer has not been annotated with HandlesTypesservletContext
- the ServletContext of the web application that is being started and in which the classes contained in c were foundThrows:
ServletException
- if an error has occurredSee Also:
ClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)
-
-