0 Replies Latest reply on May 12, 2015 6:47 AM by swatithakare

    How to get jboss forge addon registry initialized?

    swatithakare

      Jboss forge addon registry does not get initialized by Injecting it.

       

      public class JBossForgeCommand implements AddonRegistry{

      @Inject

      private AddonRegistry registry;

      Imported<CommandProvider> instances = registry.getServices(CommandProvider.class);

      ...

       

      }

      Here registry is NULL.