Package org.jitterbit.integration.client.server

Examples of org.jitterbit.integration.client.server.ServerInfo


        askServerForWsdls();
    }

    private boolean checkCache() {
        IntegrationServer server = IntegrationServer.getInstance();
        ServerInfo serverInfo = server.getServerInfo();
        if (serverInfo != null) {
            List<WsdlFile> wsdls = WsdlListCache.restore(serverInfo.getGuid());
            if (!wsdls.isEmpty()) {
                fileDisplayer.displayFiles(serverInfo, wsdls);
                return true;
            }
        }
View Full Code Here


        return selectedStructureFile;
    }

    public void initialize() {
        IntegrationServer server = IntegrationServer.getInstance();
        ServerInfo serverInfo = server.getServerInfo();
        if (serverInfo != null) {
            ServerFileFolder[] xsds = XsdCache.restore(serverInfo.getGuid());
            if (xsds.length > 0) {
                model.setAvailableFiles(xsds);
                return;
            }
        }
View Full Code Here

        this.wsdlFile = wsdlFile;
    }

    @Override
    public void fileWasUploaded(ServerFileUploadResult result) {
        ServerInfo server = result.getServer();
        WsdlListCache.update(server.getGuid(), wsdlFile);
        job.signalJobSucceeded();
    }
View Full Code Here

                org.jitterbit.integration.server.implementation.webservice.pluginmanagement.client.PluginManager pluginMgr = getPluginManager(callback);
                if (pluginMgr == null) {
                    // The callback has already been notified.
                    return;
                }
                ServerInfo serverInfo = cfg.getServerInfo();
                // Call the web service.
                FilterAsXml[] wsPlugins = pluginMgr.getFilters(user, password);
                int numberOfPlugins = (wsPlugins == null) ? 0 : wsPlugins.length;
                List<PluginAsXmlImpl> plugins = Lists.newArrayList();
                if (numberOfPlugins > 0 && wsPlugins != null) {
View Full Code Here

        }
        return new DefaultKongaTreeModel(root);
    }
   
    private KongaTreeNode createRoot() {
        ServerInfo server = provider.getCurrentServer();
        if (server != null) {
            return new DefaultKongaTreeNode("Plugins @ " + server.getName(), true);
        } else {
            return new DefaultKongaTreeNode("Connect to a server to see available plugins", false);
        }
    }
View Full Code Here

        return new ResultImpl(txId, sourceId, baseImpl, wsTestResult);
    }

    private static SourceDataIdentifier createSourceDataIdentifier(KongaGuid sourceDataGuid, ServerGuid serverId,
                    String serverName) {
        ServerInfo serverInfo = new ServerInfo(serverId, serverName);
        return (sourceDataGuid == null) ? SourceDataIdentifier.noSource(serverInfo) :
            new SourceDataIdentifier(serverInfo, sourceDataGuid);
    }
View Full Code Here

            callback.caught(e);
            return;
        }
        // XXX: Cannot use wsConfiguration.getServerInfo here, because that does not return
        // information about the server version, which is required in the callback functionality.
        final ServerInfo currentServerInfo = connectionService.getCurrentServerInfo();
        final String currentUser = wsConfiguration.getUserName();

        if (Thread.currentThread().isInterrupted()) {
            callback.cancelled();
            return;
View Full Code Here

            applyToolTip((String) value);
            return this;
        }

        private void applyToolTip(String name) {
            ServerInfo info = model.getServerInfo(name);
            if (info != null) {
                ServerToolTip tooltip = new ServerToolTip(info);
                setToolTipText(tooltip.get());
            } else {
                setToolTipText(null);
View Full Code Here

            this.serverManager = serverManager;
        }
       
        @Override
        public Object[] getColumnDataFromObject(KnownServer props) {
            ServerInfo info = props.getServerInfo();
            ServerGuid guid = info.getGuid();
            return new Object[] {
                new ServerName(serverManager, info.getName(), guid),
                info.getVersion(),
                info.getPlatform().getOS(),
                guid,
                new DateCell(props.getDateOfFirstLogin()),
                new DateCell(props.getDateOfLatestLogin()),
                props.getLatestUser(),
            };
View Full Code Here

            this.serverManager = serverManager;
        }
       
        @Override
        public Object[] getColumnDataFromObject(KnownServer props) {
            ServerInfo info = props.getServerInfo();
            ServerGuid guid = info.getGuid();
            return new Object[] {
                new ServerName(serverManager, info.getName(), guid),
                info.getVersion(),
                info.getPlatform().getOS(),
                new DateCell(props.getDateOfLatestLogin()),
                props.getLatestUser(),
            };
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.server.ServerInfo

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.