Hi,

Am Dienstag, den 22.02.2011, 12:04 -0800 schrieb Scott Lewis: 
> Hi Richard,
> 
> On 2/22/2011 11:52 AM, Richard S. Hall wrote:
> > On 2/22/11 14:23, Scott Lewis wrote:
> >>
> >> But I'm sort of wondering...why couldn't/shouldn't every 
> >> ServiceFactory be considered 'wacky'?  :)
> >
> > In the good old days, bundles did not register services for other 
> > bundles, thus all service factories came from the bundle providing the 
> > service. Such service factories typically had access to the classes 
> > listed in objectClass, so this was not complicated. Once we added 
> > Bundle.getBundleContext(), well, all bets were off...
> >
> >> Or maybe there could be some standard service property to signal the 
> >> ServiceFactory wackiness?    All I'm suggesting is that for this use 
> >> case (and others), wouldn't it be better to have some simpler way to 
> >> signal this ServiceFactory wackiness...than to have a dummy bundle?
> >
> > Possibly, like explicitly letting the service factory tell us if they 
> > are class space compatible by giving them the target type from the 
> > consumer.
> 
> Sure...seems reasonable to me.
> 
> 
> >
> > -> richard
> >
> > p.s. The Felix framework has included special treatment for service 
> > factories since version 2.0.2 (see FELIX-1754).
> 
> Thanks!  Could you please provide the full URL for 1754...and I'll check 
> it out (apologies...at this point I'm just too much of a Felix novice to 
> leave this up to my fingers).

That's https://issues.apache.org/jira/browse/FELIX-1754

Regards
Felix

> 
> Scott
> 
> 
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to