Hi,
Coming back on this && let's try to be more clear.
I added into module generic a jboss extension by implementing a dummy "org.jboss.as.controller.Extension" and I have another service "com.mycomp.havefun.NotReally" with it's implementation. META-INF/services update accordingly.
The module extension has already an implementation of "org.jboss.as.controller.Extension". META-INF/services updated. This same module has a definition into standalon.xml in order to be kickstarted by jboss modules at startup as an extension of AS7.
Now, with the previous module.xml I can see that BOTH jboss controller extensions from BOTH module are started.
BUT - I still fail to have that META-INF/service "com.mycomp.havefun.NotReally" loaded !
So, rephrasing my question, how can I have the jboss module kickstarting not only the jboss extension BUT my service too ?!? Don't see much on web.
I looked at the OSGI service and it seems that the OSGI framework that has some services defined is added programatically not as a module ...... And I am wondering if I have to do the same. If yes, any doc's on how to achieve that ?!?
BR,
Dan S.