Yes. What you want to accomplish is called "injecting into a non-contextual instance", or in other words "injecting into a non-bean instance". The object is an injection target.
I wonder if it's possible to offer a set of bean instances (not-managed by
the container) so that their dependencies are satisfied by the container. As
an example, you can grab a Spring BeanFactory and call autowire on it, like
Is there a similar API in Weld/CDI?
View this message in context: http://weld-development-discussions.46994.n3.nabble.com/Offering-beans-post-container-initialization-tp2656992p2656992.html
Sent from the Weld development discussions mailing list archive at Nabble.com.
weld-dev mailing list