The current (1.4.1) code has ProviderManager that is all statics. This manager uses a particular mechanism for discovering providers and extensions. Unfortunately, that mechanism is not quite what we are after. There does not appear to be an easy way of replacing the ProviderManager.
Did I miss something?
What we have done in the mean time is change ProviderManager to be a singleton based structure and then implemented a subclass which does our work. All references (there were not many) where changed to be something like
At startup we simply create our own ProviderManager and stuff it in the ProviderManager using a oneshot method.
p.s., how can I retain the indentation of my posts. The forums seem to delete all leading spaces.