This content has been marked as final.
Show 1 reply
-
1. Re: How do I invoke an injected method with Weld SE?
mkouba Jun 30, 2016 10:21 AM (in response to ctwx)Hi Christian,
initializer methods should not be called by application at all (well, you may call initializer methods directly, but then no parameters will be injected by the container). Initializers are called automatically (and params are injected) by the container when a new instance of a bean is created (see also http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#fields_initializer_methods and http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#initializer_methods).