Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Handle destroy callback #1048

Closed
Closed

Description

@snicoll

CommonAnnotationBeanPostProcessor is not invoked as we disable it when running in AOT mode. We should scan for PostConstruct and PreDestroy and update the bean definition metadata accordingly.

We're currently not writing that information so we should do that as well so that the container can pick it up. Since it's called via reflection, we'll have to update the native configuration for that as well.

Activity

  1. added
    type: enhancement
    on Sep 21, 2021
  2. added this to the 0.11.0 milestone on Sep 21, 2021
  3. linked a pull request that will close this issueHandle init callbacks #1059on Sep 22, 2021
  4. modified the milestones: 0.11.0-M1, 0.11.x on Sep 24, 2021
  5. snicoll commented on Sep 24, 2021

    @snicoll
    ContributorAuthor

    Repurposing this issue to handle destroy callbacks as init callbacks are taken care of as part of #1059

  6. changed the title [-]Handle init and destroy callbacks[/-] [+]Handle destroy callback[/+] on Sep 24, 2021
  7. modified the milestones: 0.11.x, 0.11.0-M1 on Sep 27, 2021
  8. self-assigned this
    on Sep 27, 2021
  9. added a commit that references this issue on Sep 27, 2021
    677f44f
  10. snicoll commented on Sep 27, 2021

    @snicoll
    ContributorAuthor

    Fixed by 1f96ae9

  11. added a commit that references this issue on Sep 28, 2021
    fe4c4c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions