On Wednesday 28 September 2005 17:38, Richard S. Hall wrote: > One thing is certain, though, is that we cannot come up with a solution > that will work for legacy apps that assume that they are the ones to > call the "set factory" method; code will have to be modified to use > whatever solution we come up with.
Well, it also depends largely on how the existing owner of the URL/Content handler factory is organized. If ContainerX sets a stream handler factory, which only deals with its own problem domain, and does not provide an extension mechanism then that ContainerX must be modified to be supported. If ContainerY provides a extension mechanism, then we could create a solution for ContainerY, without modifying ContainerY, thanks to the modularity of OSGi itself. I don't think it is likely that generic solutions for the short term will be feasible, mostly for political reasons. Cheers Niclas