How to access Openfire plugin at runtime?

Hi folks,

i am trying to develop a Chatbot for Jabber, i already have the functionality of the Chatbot.

Also i was able to test the code as a Openfire plugin.

What i wanna do know is i want to make the Chatbot more dynamic, e.g. the Chatbot has to load preferences from the user like topics, interruption level and other informations, but this informations are collected by a other program A (written in java) and can be updated by the user at any time.

So my question is, how can i open a connection between program A and the Chatbot plugin so that program A can feed the Chatbot with the informations it needs?

It would be great if you could give me a hint

Greetz

Moses