>> WRT to changing packages, if you are really worried about backward >> compatibility but would like to refactor the split packages out you >> *could* consider renaming the package and creating a compatibility >> bundle or fragment that contains the 'old' split packages and >> delegates to the new ones. The users can slowly migrate. Non-migrated >> users would need the compat bundle. Migrated ones will not need it... >> It's not always practical, but it's an option to consider... > > Doesn't really work for CXF, at least of the areas I looked at. For the most > part, the stuff that needs to move are interfaces that the impls' would need > to implement. Thus, without some complex weaving to add the interfaces onto > the impls at runtime, it would be a bit more difficult.
You could probably achieve some results with java.lang.reflect.Proxy, but either way this would not be much fun. I might be a possibility if you're only talking about a small number of problematic cases... Cheers, David
