This repository has been archived by the owner on Oct 12, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add whitelist class scanning strategy (#309)
Adds a new scanning strategy 'whitelist' which allows you to find all instances of annotated classes in the classpath. This might be required if the @route classes does not directly reference components (for instance in the case of IOC frameworks. Since when using the 'whitelist' scanning strategy all components which conforms to the whitelist will be included in the bundle it is recommended to manually configure the 'vaadin.whitelistedPackages' property so that it only lists packages which has the wanted components in the bundle. For example: vaadin.scanStrategy = 'whitelist' vaadin.whitelistedPackages = [ 'com.vaadin.flow.component.orderedlayout', 'my.project.root.package' ] Would only include the ordered layouts as well as your project packages.
- Loading branch information
Showing
4 changed files
with
160 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters