[jboss-dev-forums] [JBoss AS7 Development] - Re: META-INF/services for module extensions - question/issue

Dan Sirbu do-not-reply at jboss.com
Mon Sep 12 09:40:26 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/626035#626035

--------------------------------------------------------------
Looks great. One extra question related to it - and the last one.

If for example module M2 does define a singleton class that it is instantiated when M1 executes the service impl from M2, then if ME does add a deployment dependency of WAR's deployments for module M2, would the singleton be respected or I will end up having two instances of the same class ?

I already tried and it looked to respect the singleton but I just want to be sure that what I do is correct.

Thanks,
Dan S.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/626035#626035]

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/20110912/ee1574e0/attachment.html 


More information about the jboss-dev-forums mailing list