Plugin loading and openfire server boot strap

Hi,

Recently I obsered that plugin loading happens in asynchronous manner while bootstrapping openfire server. The consequence of that the loading of plugin gets delayed due to some reason and when you try to get reference of pluging

( XMPPServer.getInstance().getPluginManager().getPlugin(“pluginname”) .doSomeOperation()),

you get errors. Is there any way out so that all configured plugins gets loaded as a part of openfire bootstrapping. The server should be only available when at least one attempt of all pluging loading have been made.

Thanks,

Manish