You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
This commit rework the original proposal by writing the init and
destroy methods and using them to instantiate a dedicated bean post
processor that is similar to the original one used at runtime.
Both method names defined on the bean definition itself as well as
externally managed ones are supported. If the bean name is '(inferred)'
similar logic is applied at build time.
Closesgh-1048
See gh-1059
This commit rework the original proposal by writing the init and
destroy methods and using them to instantiate a dedicated bean post
processor that is similar to the original one used at runtime.
Both method names defined on the bean definition itself as well as
externally managed ones are supported. If the bean name is '(inferred)'
similar logic is applied at build time.
Closesgh-1048
See gh-1059
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
CommonAnnotationBeanPostProcessor
is not invoked as we disable it when running in AOT mode. We should scan forPostConstruct
andPreDestroy
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.
The text was updated successfully, but these errors were encountered: