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.startup.
Class AnnotationValidator
- java.lang.Object
-
- com.vaadin.flow.server.startup.AbstractAnnotationValidator
-
- com.vaadin.flow.server.startup.AnnotationValidator
-
All Implemented Interfaces:
public class AnnotationValidator extends AbstractAnnotationValidator
Validation class that is run during servlet container initialization which checks that specific annotations are not configured wrong.
See Also:
-
-
Field Summary
-
Fields inherited from class com.vaadin.flow.server.startup.AbstractAnnotationValidator
ERROR_MESSAGE_BEGINNING, MIDDLE_ROUTER_LAYOUT, NON_PARENT, NON_PARENT_ALIAS, NON_ROUTER_LAYOUT
-
-
Constructor Summary
Constructors Constructor and Description AnnotationValidator()
-
Method Summary
All Methods Modifier and Type Method and Description protected List<Class<?>>
getAnnotations()
Gets the annotations that are subject to validate.
void
onStartup(Set<Class<?>> classSet, ServletContext servletContext)
-
Methods inherited from class com.vaadin.flow.server.startup.AbstractAnnotationValidator
validateClasses
-
-
-
-
Method Detail
-
onStartup
public void onStartup(Set<Class<?>> classSet, ServletContext servletContext) throws ServletException
Throws:
ServletException
-
getAnnotations
protected List<Class<?>> getAnnotations()
Description copied from class:
AbstractAnnotationValidator
Gets the annotations that are subject to validate.
Specified by:
getAnnotations
in classAbstractAnnotationValidator
Returns:
a list of target annotations
-
-