powered by Jive Software

Admob plugin

Hi all,

I’m first in Openfire. i want to create a Admob plugin for openfire. I’ve admob api using this i got xml for httpservlet. can anybody tell me how do i create a plugin using that xml and how do i add it to mu plugin class and create a IQ stanza. I’v inititlize plugin like this…
public void initializePlugin(PluginManager manager, File pluginDirectory) {
pluginManager = manager;
sessionManager = SessionManager.getInstance();
groupManager = GroupManager.getInstance();

// Register as a component.
componentManager = ComponentManagerFactory.getComponentManager();
try {
componentManager.addComponent(serviceName, this);
catch (Exception e) {

can any one tell me what is the serviceName in componentManager.addComponent. plz help me about this as soon as possible.

Thanks and Regards