I have solid spring backgroud so sometimes i am trying to solve problems with spring approach. In spring there is BeanPostProcessor which allows you to process beans before inintialization and after initialization. Is there any way to implement same behaviour with CDI extenssions? With javax.enterprise.inject.Instance i can simulate semantics of post processing but it is not the same.
I don't know what BeanPostProcessor in spring is capable of. However, I suppose reading about Container lifecycle events should help (Chapter 11.5 in CDI spec; you can read actual version here: https://github.com/cdi-spec/cdi/blob/master/spec/spi.asciidoc#container-lifecycle-events)