com.vaadin.flow.server.frontend.scanner.
Class FrontendDependenciesScanner.FrontendDependenciesScannerFactory
Enclosing interface:
Frontend dependencies scanner factory.
Author:
Vaadin Ltd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateScanner
(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents) Deprecated.
createScanner
(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, FeatureFlags featureFlags) Deprecated.
createScanner
(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, FeatureFlags featureFlags, boolean reactEnabled) Produces scanner implementation based on
allDependenciesScan
value.createScanner
(Options options) Deprecated.
-
Constructor Details
-
FrontendDependenciesScannerFactory
public FrontendDependenciesScannerFactory()
-
-
Method Details
-
createScanner
@Deprecated public FrontendDependenciesScanner createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents) Deprecated.Produces scanner implementation based on
allDependenciesScan
value.Parameters:
allDependenciesScan
- iftrue
then full classpath scanning strategy is used, otherwise byte scanning strategy is producedfinder
- a class findergenerateEmbeddableWebComponents
- checksWebComponentExporter
classes for dependencies iftrue
, doesn't check otherwiseReturns:
a scanner implementation strategy
-
createScanner
@Deprecated public FrontendDependenciesScanner createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, FeatureFlags featureFlags) Deprecated.Produces scanner implementation based on
allDependenciesScan
value.Parameters:
allDependenciesScan
- iftrue
then full classpath scanning strategy is used, otherwise byte scanning strategy is producedfinder
- a class findergenerateEmbeddableWebComponents
- checksWebComponentExporter
classes for dependencies iftrue
, doesn't check otherwisefeatureFlags
- available feature flags and their statusReturns:
a scanner implementation strategy
-
createScanner
public FrontendDependenciesScanner createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, FeatureFlags featureFlags, boolean reactEnabled) Produces scanner implementation based on
allDependenciesScan
value.Parameters:
allDependenciesScan
- iftrue
then full classpath scanning strategy is used, otherwise byte scanning strategy is producedfinder
- a class findergenerateEmbeddableWebComponents
- checksWebComponentExporter
classes for dependencies iftrue
, doesn't check otherwisefeatureFlags
- available feature flags and their statusreactEnabled
-true
if react is enabled,true otherwise
Returns:
a scanner implementation strategy
-
createScanner
Deprecated.Produces scanner implementation based on the given Options object.
Parameters:
options
- Options to build the scanner fromReturns:
a scanner implementation strategy
-
createScanner(boolean, ClassFinder, boolean, FeatureFlags, boolean)
instead.