public class WebComponentModulesGenerator extends ClassPathIntrospector
WebComponentModulesWriter to
generate web component modules files from
WebComponentExporter/WebComponentExporterFactory
implementations found by
ClassPathIntrospector.| Constructor and Description |
|---|
WebComponentModulesGenerator(ClassPathIntrospector introspector)
Creates a new instances and stores the
introspector to be used
for locating
WebComponentModulesWriter
class and
WebComponentExporter/WebComponentExporterFactory
implementations. |
| Modifier and Type | Method and Description |
|---|---|
Set<File> |
generateWebComponentModules(File outputDirectory)
Collects
WebComponentModulesWriter
class and classes that extend WebComponentExporter or
WebComponentExporterFactory using inspector. |
doInvokeAnnotationMethod, getAnnotatedClasses, getResource, getSubtypes, invokeAnnotationMethod, loadClassInProjectClassLoaderpublic WebComponentModulesGenerator(ClassPathIntrospector introspector)
introspector to be used
for locating
WebComponentModulesWriter
class and
WebComponentExporter/WebComponentExporterFactory
implementations.introspector - ClassPathIntrospector
implementation to use as a base.public Set<File> generateWebComponentModules(File outputDirectory)
WebComponentModulesWriter
class and classes that extend WebComponentExporter or
WebComponentExporterFactory using inspector. Generates web component modules and places the into the
outputDirectory.outputDirectory - target directory for the web component module filesIllegalStateException - if inspector cannot locate required classesCopyright © 2000–2025 Vaadin Ltd. All rights reserved.