Package org.jitterbit.integration.client.plugin.pipeline.cache

Examples of org.jitterbit.integration.client.plugin.pipeline.cache.PipelinePluginCacheUpdateCall$CallbackImpl


        }

        private void refresh() {
            IntegrationServer server = IntegrationServer.getInstance();
            PipelinePluginInfoProvider provider = server.getServerCall(PipelinePluginInfoProvider.class);
            PipelinePluginCacheUpdateCall call = new PipelinePluginCacheUpdateCall(getServerCache(), provider);
            call.setErrorHandler(this);
            call.call();
        }
View Full Code Here


            ServerGuid currentServer = serverManager.getCurrentServerGuid();
            return server.getGuid().equals(currentServer);
        }

        private void refreshFromCurrentServer() {
            final PipelinePluginCacheUpdateCall updateCall = createUpdateCall();
            ApplicationWorker worker = Application.getWorker();
            worker.submitForParallel(ApplicationWorker.GUARD.protect(new Runnable() {

                @Override
                public void run() {
                    try {
                        updateCall.call();
                    } finally {
                        model.setBusy(false);
                    }
                }
            }));
View Full Code Here

            IntegrationServer server = IntegrationServer.getInstance();
            PipelinePluginInfoProvider provider = server.getServerCall(PipelinePluginInfoProvider.class);
            ExceptionHandler<Throwable> errorHandler = new LoggingExceptionHandler(ControllerImpl.class,
                            ErrorLevel.ATTENTION,
                            PluginUiResources.getString("PipelinePlugin.Error.UpdateAvailablePlugins"));
            PipelinePluginCacheUpdateCall call = new PipelinePluginCacheUpdateCall(serverCache, provider);
            call.setErrorHandler(errorHandler);
            return call;
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.plugin.pipeline.cache.PipelinePluginCacheUpdateCall$CallbackImpl

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.