Brian Stansberry [
http://community.jboss.org/people/brian.stansberry] created the
discussion
"Re: META-INF/services for module extensions - question/issue"
To view the discussion, visit:
http://community.jboss.org/message/623566#623566
--------------------------------------------------------------
The <extension> element in standalone.xml is not meant to be a generic facility for
loading ServiceLoader-based services. It's meant for installing implementations of
org.jboss.as.controller.Extension (i.e. new manageable subsystems) and nothing else.
That's why your dummy implementations get loaded.
If you're not looking to add a manageable subsystem, I recommend deploying a sar with
a META-INF/jboss-service.xml that declares an mbean whose start() method does the
ServiceLoader.load() call.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/623566#623566]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]