This content has been marked as final. 
    
Show                 1 reply
    
- 
        1. Re: Is adding an InjectionPoint to synthetic bean sufficient to cause injection to happen?mkouba Jan 28, 2019 3:51 AM (in response to ljnelson)Hi Laird, Unfortunately, synthetic beans do not work this way - javax.enterprise.inject.spi.Bean.getInjectionPoints()is only used for validation. Instead, the extension is responsible for creating a new fully initialized bean instance. In theory, you could try to useBeanManager.createAnnotatedType(Class<T>)andBeanManager.getInjectionTargetFactory(AnnotatedType<T>)andjavax.enterprise.inject.spi.InjectionTargetFactory.configure()to turn a Pojo method into an injection point. And afterwards use the injection target to produce a new Pojo instance.
 
    