[jboss-dev-forums] [JBoss OSGi Development] - Re: Service integration with MC

alesj do-not-reply at jboss.com
Tue Nov 10 06:42:35 EST 2009


"alesj" wrote : 
  | * Service --> MC
  | 
What to do about tracking this "OSGi --> MC" injection?

If we add this service to bundle's inUse, then there is no proper callback to decrease inUse count.
Which in the case of ServiceFactory (SF) means SF::ungetService might never be called.

We can completely ignore bundle service count + serviceCache,
but potentially some service unregister could invoke SF::ungetService,
although we would still be using it in MC bean.



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264791#4264791

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264791



More information about the jboss-dev-forums mailing list