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

    How to get jboss forge addon registry initialized?

    Sand test Newbie

      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.