Dan Sirbu [
http://community.jboss.org/people/lmcdasi] created the discussion
"Re: META-INF/services for module extensions - question/issue"
To view the discussion, visit:
http://community.jboss.org/message/621479#621479
--------------------------------------------------------------
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
[
http://community.jboss.org/message/621479#621479]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]