3 Replies Latest reply on Oct 20, 2014 2:23 AM by Tomas Remes

    What's Wildfly/JBoss CDI's equivalent to Injector or ApplicationContext?

    firepod Newbie

      I have a use case where, I can't @Inject a dependency into a class, but I need to retrieve an instance of a class that does have dependencies, which I need to be resolved.

       

      Guice has an Injector for looking up instances. Spring has an ApplicationContext for the same.

       

      What's the equivalent construct in Wildfly/JBoss? And how do I get, lookup or create a reference to it?

       

      Thanks.