com.vaadin.fusion.startup.
Class FusionEndpointsValidator
- java.lang.Object
-
- com.vaadin.fusion.startup.FusionEndpointsValidator
-
All Implemented Interfaces:
ClassLoaderAwareServletContainerInitializer, Serializable, javax.servlet.ServletContainerInitializer
public class FusionEndpointsValidator extends Object implements ClassLoaderAwareServletContainerInitializer, Serializable
Validation class that is run during servlet container initialization which checks that application is running with the appropriate spring dependencies when there are
Endpoint
annotations.Since:
3.0
See Also:
-
-
Constructor Summary
Constructors Constructor and Description FusionEndpointsValidator()
-
Method Summary
All Methods Modifier and Type Method and Description void
process(Set<Class<?>> classSet, javax.servlet.ServletContext servletContext)
Implement this method instead of
ClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)
to handle classes accessible by different classloaders.-
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, javax.servlet.ServletContext servletContext) throws javax.servlet.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, ornull
if there are no matches, or thisServletContainerInitializer
has not been annotated withHandlesTypes
servletContext
- theServletContext
of the web application that is being started and in which the classes contained inclassSet
were foundThrows:
javax.servlet.ServletException
- if an error has occurredSee Also:
ClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)
-
-