JBoss Community

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

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

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

Start a new discussion in JBoss AS7 Development at Community