JBoss Community

Re: META-INF/services for module extensions - question/issue

created by Dan Sirbu in JBoss AS7 Development - View the full discussion

Adding traces the only thing that it grabs from META-INF is the following:

 

10:40:14,350 TRACE [org.jboss.modules] Found previously loaded class org.jboss.as.controller.registry.OperationEntry$EntryType from Module "org.jboss.as.controller:main" from local module loader @18e2b22 (roots: /home/jboss7/modules)

10:40:14,350 TRACE [org.jboss.modules] Attempting to find all resources META-INF/services/org.jboss.as.controller.Extension in Module "com.mycomp.module:main" from local module loader @18e2b22 (roots: /home/jboss7/modules)

10:40:14,351 INFO  [com.mycomp.jboss.module.extension.SubsystemExtension] Initializing MMAS subsystem.

10:40:14,351 TRACE [org.jboss.modules] Finding class org.jboss.as.controller.ExtensionContext from Module "com.mycomp.module:main" from local module loader @18e2b22 (roots: /home/jboss7/modules)

 

And the module that is not an extension I do not have anything related to META-INF/services so it does not even try .....

 

That is what I have with this test on the module.xml:

 

<module name="com.mycomp.generic" services="import" export="true"/>

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community