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.
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:
Would only include the ordered layouts as well as your project packages.