Package org.jivesoftware.whack

Examples of org.jivesoftware.whack.ExternalComponent.initialize()


      components.put(component, externalComponent);
      // Ask the ExternalComponent to connect with the remote server
      externalComponent.connect(host, port, SocketFactory.getDefault(), subdomain);
      // Initialize the component
      JID componentJID = new JID(null, externalComponent.getDomain(), null);
      externalComponent.initialize(componentJID, this);
    } catch (ComponentException e) {
      // Unregister the new component
      componentsByDomain.remove(subdomain);
      components.remove(component);
      // Re-throw the exception
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.