Package org.eobjects.datacleaner.extensionswap

Examples of org.eobjects.datacleaner.extensionswap.ExtensionSwapClient


    String websiteHostname = userPreferences.getAdditionalProperties().get("extensionswap.hostname");
    if (StringUtils.isNullOrEmpty(websiteHostname)) {
      websiteHostname = System.getProperty("extensionswap.hostname");
    }

    final ExtensionSwapClient extensionSwapClient;
    if (StringUtils.isNullOrEmpty(websiteHostname)) {
      logger.info("Using default ExtensionSwap website hostname");
      extensionSwapClient = new ExtensionSwapClient(windowContext, userPreferences);
    } else {
      logger.info("Using custom ExtensionSwap website hostname: {}", websiteHostname);
      extensionSwapClient = new ExtensionSwapClient(websiteHostname, windowContext, userPreferences);
    }
    ExtensionSwapInstallationHttpContainer container = new ExtensionSwapInstallationHttpContainer(extensionSwapClient,
        userPreferences);

    final Closeable closeableConnection = container.initialize();
View Full Code Here

TOP

Related Classes of org.eobjects.datacleaner.extensionswap.ExtensionSwapClient

Copyright © 2018 www.massapicom. 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.