You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.frontend.scanner.

Class FrontendDependenciesScanner.FrontendDependenciesScannerFactory

  • java.lang.Object
    • com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner.FrontendDependenciesScannerFactory
  • Enclosing interface:

    FrontendDependenciesScanner

    public static class FrontendDependenciesScanner.FrontendDependenciesScannerFactory
    extends Object

    Frontend dependencies scanner factory.

    Author:

    Vaadin Ltd

    • Constructor Detail

      • FrontendDependenciesScannerFactory

        public FrontendDependenciesScannerFactory()
    • Method Detail

      • createScanner

        public FrontendDependenciesScanner createScanner​(boolean allDependenciesScan,
                                                         ClassFinder finder,
                                                         boolean generateEmbeddableWebComponents)

        Produces scanner implementation based on allDependenciesScan value.

        Parameters:

        allDependenciesScan - if true then full classpath scanning strategy is used, otherwise byte scanning strategy is produced

        finder - a class finder

        generateEmbeddableWebComponents - checks WebComponentExporter classes for dependencies if true, doesn't check otherwise

        Returns:

        a scanner implementation strategy

      • createScanner

        public FrontendDependenciesScanner createScanner​(boolean allDependenciesScan,
                                                         ClassFinder finder,
                                                         boolean generateEmbeddableWebComponents,
                                                         boolean useV14Bootstrap,
                                                         FeatureFlags featureFlags)

        Produces scanner implementation based on allDependenciesScan value.

        Parameters:

        allDependenciesScan - if true then full classpath scanning strategy is used, otherwise byte scanning strategy is produced

        finder - a class finder

        generateEmbeddableWebComponents - checks WebComponentExporter classes for dependencies if true, doesn't check otherwise

        useV14Bootstrap - whether we are in legacy V14 bootstrap mode

        featureFlags - available feature flags and their status

        Returns:

        a scanner implementation strategy

      • createScanner

        public FrontendDependenciesScanner createScanner​(boolean allDependenciesScan,
                                                         ClassFinder finder,
                                                         boolean generateEmbeddableWebComponents,
                                                         boolean useV14Bootstrap,
                                                         FeatureFlags featureFlags,
                                                         boolean fallback)

        Produces scanner implementation based on allDependenciesScan value.

        Parameters:

        allDependenciesScan - if true then full classpath scanning strategy is used, otherwise byte scanning strategy is produced

        finder - a class finder

        generateEmbeddableWebComponents - checks WebComponentExporter classes for dependencies if true, doesn't check otherwise

        useV14Bootstrap - whether we are in legacy V14 bootstrap mode

        featureFlags - available feature flags and their status

        fallback - whether FullDependenciesScanner is used as fallback

        Returns:

        a scanner implementation strategy