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

improve extension API and resolve all remaining open questions #544

Merged
merged 1 commit into from
Oct 21, 2021

Commits on Oct 20, 2021

  1. improve extension API and resolve all remaining open questions

    - settled on the name "Build Compatible Extensions"
    - renamed `@Processing` to `@Registration`, because if we ever want
      to introduce an extension phase for modifying beans before they
      are registered, _that_ should be called `@Processing`
    - moved the synthetic bean creation/destruction functions from
      the `CreationalContext` style to the `Instance` style
    - specified precisely how `ClassInfo.methods` and `fields` work,
      specified that `ClassConfig` behaves identically, and specified
      that an extension methods with parameters of type `MethodInfo`
      or `FieldInfo` also behave identically
    - removed the `@ExactType` and `@SubtypesOf` annotations and moved
      type queries directly to the `@Enhancement` and `@Registration`
      annotations
    - moved the `MetaAnnotations` API from accepting a callback
      to directly returning `ClassConfig`
    - specified lifecycle of `SyntheticBean{Creator,Disposer}` and
      `SyntheticObserver`
    - specified that `Messages.error` is treated as a deployment problem
    Ladicek committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    4cb5b5c View commit details
    Browse the repository at this point in the history