How to create a MUC from within a plugin?

Hello everybody,

I started developing a plugin for openfire. I got customIQs working, but now I wish to create a MUC from within the plugin.

It seems I have to get some kind of XMPPConnection so I can instantiate a MultiUserChat-Class…however, I dont have any idea where to get that connection…

Can anybody please help me out here?

Thanks in advance