AnsweredAssumed Answered

how to add disco#info features?

Question asked by timjulien on Feb 12, 2008





Is there anyway for a Plugin to add features that will be returned the ServiceDiscoveryManager when a DiscoveryInfo packet is received?  I tried adding a static block to my plugin that adds an XMPPConnectionListener that adds my feature:



static {

        XMPPConnection.addConnectionCreationListener(new ConnectionCreationListener() {

            public void connectionCreated(XMPPConnection connection) {







But it seems like plugins are created (class loaded) pretty late in the startup process, and the XMPPConnection has already been created.






-Tim Julien