[jboss-dev-forums] [JBoss AS7 Development] - Re: META-INF/services for module extensions - question/issue
Dan Sirbu
do-not-reply at jboss.com
Wed Aug 17 20:04:00 EDT 2011
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&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110817/3f34b548/attachment.html
More information about the jboss-dev-forums
mailing list