Uses of Interface
com.vaadin.flow.server.frontend.scanner.ClassFinder
-
Uses of ClassFinder in com.vaadin.flow.server.frontend
Modifier and TypeMethodDescriptionstatic boolean
BundleValidationUtil.exportedWebComponents
(elemental.json.JsonObject statsJson, ClassFinder finder) static String
BundleValidationUtil.findProdBundleStatsJson
(ClassFinder finder) static boolean
BundleValidationUtil.frontendImportsFound
(elemental.json.JsonObject statsJson, Options options, ClassFinder finder, FrontendDependenciesScanner frontendDependencies) static elemental.json.JsonObject
BundleValidationUtil.getDefaultPackageJson
(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder, elemental.json.JsonObject packageJson) static String
FrontendUtils.getJarResourceString
(String jarImport, ClassFinder finder) Get resource from JAR package.static elemental.json.JsonObject
BundleValidationUtil.getPackageJson
(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder) Get the package.json file from disk if available else generate in memory.static URL
BundleValidationUtil.getProdBundleResource
(String filename, ClassFinder finder) static boolean
BundleValidationUtil.hasJarBundle
(String jarPath, ClassFinder finder) Check if jar bundle exists on given path.static boolean
BundleValidationUtil.needsBuild
(Options options, FrontendDependenciesScanner frontendDependencies, ClassFinder finder, Mode mode) Checks if an application needs a new frontend bundle.static boolean
ThemeValidationUtil.themeConfigurationChanged
(Options options, elemental.json.JsonObject statsJson, FrontendDependenciesScanner frontendDependencies, ClassFinder finder) ModifierConstructorDescriptionCreates a new instances and stores thefinder
to be used for locatingWebComponentModulesWriter
andWebComponentExporter
/WebComponentExporterFactory
classes.GenerateMainImports
(ClassFinder classFinder, FrontendDependenciesScanner frontendDepScanner, Options options, elemental.json.JsonObject statsJson) protected
NodeUpdater
(ClassFinder finder, FrontendDependenciesScanner frontendDependencies, Options options) Constructor. -
Uses of ClassFinder in com.vaadin.flow.server.frontend.scanner
Modifier and TypeClassDescriptionstatic class
Implementation that proxy and cache a realClassFinder
.static class
Implementation that searches for annotated classes or subclasses in a list of classes.Modifier and TypeMethodDescriptionFrontendDependenciesScanner.FrontendDependenciesScannerFactory.createScanner
(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents) Produces scanner implementation based onallDependenciesScan
value.FrontendDependenciesScanner.FrontendDependenciesScannerFactory.createScanner
(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, FeatureFlags featureFlags) Produces scanner implementation based onallDependenciesScan
value.ModifierConstructorDescriptionCachedClassFinder
(ClassFinder classFinder) It uses specified classFinder and caches scanned annotation.FrontendDependencies
(ClassFinder finder) Default Constructor.FrontendDependencies
(ClassFinder finder, boolean generateEmbeddableWebComponents) Secondary constructor, which allows declaring whether embeddable web components should be checked for resource dependencies.FrontendDependencies
(ClassFinder finder, boolean generateEmbeddableWebComponents, FeatureFlags featureFlags) Tertiary constructor, which allows declaring whether embeddable web components should be checked for resource dependencies.