powered by Jive Software

ProviderManager getInstance() method

Hello …

With 4.0.x version of smack-core, how to get an instance of ProviderManager? I couldn’t find getInstance() method.

I want to add an extension provider as below and thus I am refering to the latest documentation.

ProviderManager.getInstance().addExtensionProvider("element", "namespace", new MyExtProvider());

Can somebody help, please.

Thanks!

ProviderManager now only has static methods. Simply remove the ‘.getInstance()’ string from you code to fix it. Documentation has been updated accordingly.