- Applicationscoped postconstruct not called. The CDI reference guide describes the bean discovery, non-standard features and configuration properties. Sep 20, 2017 · 2. 1 specification. Cheers, Per jboss-cdi-issue. The PostConstruct annotation is used on a method that needs to be executed after dependency injection is done to perform any initialization. This guide explores these scenarios, their causes, and solutions to ensure proper functionality. Re: @PostConstruct method not called on CDI bean from external deployment module per. I need to call interceptor methods (PostConstruct and PreDestroy) of superclasses during reloading of beans in Quarkus and CDI/Weld. However, there are several scenarios where @PostConstruct may not be called as expected. Aug 14, 2012 · Postconstruct not being called by ApplicationScoped bean being injected into a Singleton bean Asked 12 years, 8 months ago Modified 12 years, 8 months ago Viewed 2k times Mar 3, 2024 · The NullPointerException is thrown because this bean did not invoke constructor injection (but instead created this bean with a null-argument constructor generated by Quarkus). hnlpiiup ivmoq t9cof4o9w rgy rz h9 fz1p8 buvth6s dps2 dazv