Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: filterable class scanning of JAR #19299

Merged
merged 10 commits into from
May 6, 2024
Merged

Commits on May 2, 2024

  1. feat: filterable class scanning of JAR

    This change improves optimization of class scanning of `VaadinServletContextInitializer` by reading optional configuration file within a JAR dependency. Configuration file is a regular properties file that can contain `vaadin.allowed-packages` or `vaadin.blocked-packages` to exclude/include packages being scanned by `VaadinServletContextInitializer`. Package exclusion/inclusion effects only classes in the JAR/module where `META-INF/VAADIN/package.properties` is located at.
    
    Notice that this is only affecting the performance of the class scanning of Vaadin specific annotations and types and this feature is not meant to be used for excluding packages from the whole application. E.g. excluding `VaadinServiceInitListener` in a Spring application is not stopping Spring and Vaadin initializing it anyway, although some time-consuming actions like `DevModeServletContextListener` would still exclude it for optimization.
    
    Fixes: #19117
    tltv committed May 2, 2024
    Configuration menu
    Copy the full SHA
    3697686 View commit details
    Browse the repository at this point in the history
  2. chore: refactoring and Javadoc

    tltv committed May 2, 2024
    Configuration menu
    Copy the full SHA
    35dfe33 View commit details
    Browse the repository at this point in the history
  3. chore: cleaned up IT

    tltv committed May 2, 2024
    Configuration menu
    Copy the full SHA
    918548b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aaef88e View commit details
    Browse the repository at this point in the history
  5. chore: updated computeMatrix.js

    tltv committed May 2, 2024
    Configuration menu
    Copy the full SHA
    20a0ca3 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. chore: formatting

    tltv committed May 3, 2024
    Configuration menu
    Copy the full SHA
    d33caf6 View commit details
    Browse the repository at this point in the history
  2. chore: added sub-modules

    tltv committed May 3, 2024
    Configuration menu
    Copy the full SHA
    73663ca View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e47ba1 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Configuration menu
    Copy the full SHA
    bdab0ea View commit details
    Browse the repository at this point in the history
  2. chore: serialized PackageInfo

    tltv committed May 6, 2024
    Configuration menu
    Copy the full SHA
    dd2b9e0 View commit details
    Browse the repository at this point in the history