Package org.jitterbit.integration.client.server

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


    }
   
    @Override
    protected void runImpl() throws InterruptedException {
        setMessage("Downloading list of drivers from the server");
        IntegrationServer server = IntegrationServer.getInstance();
        OdbcInfoProvider call = server.getServerCall(OdbcInfoProvider.class);
        call.getDrivers(callback);
    }
View Full Code Here


            return result;
        }

        @Override
        protected void makeServerCall() {
            IntegrationServer server = IntegrationServer.getInstance();
            SourceConnectionTester call = server.getServerCall(SourceConnectionTester.class);
            call.testFileshare(source, location, this);
        }
View Full Code Here

        }

        @Override
        protected void runImpl() throws InterruptedException {
            setMessage("Sending the request to the server");
            IntegrationServer server = IntegrationServer.getInstance();
            JobControl call = server.getServerCall(JobControl.class);
            call.runAllScheduledOperations(callback);
        }
View Full Code Here

            this.target = tgt;
        }

        @Override
        protected void makeServerCall() {
            IntegrationServer server = IntegrationServer.getInstance();
            TargetConnectionTester call = server.getServerCall(TargetConnectionTester.class);
            call.testFileshare(target, location, this);
        }
View Full Code Here

        }
        return PreDeployStatus.CONTINUE;
    }

    private void sendDataToServer(DeployData data, DeployCallback callback) {
        IntegrationServer server = IntegrationServer.getInstance();
        IntegrationProjectDeployer call = server.getServerCall(IntegrationProjectDeployer.class);
        DeployLog.LOG.info("Sending data to the InterchangeProjectDeployer");
        call.deployProject(data, new InternalCallback(projectMgr, data, callback));
    }
View Full Code Here

   
    @Override
    protected void runImpl() throws InterruptedException {
        updateEngine(EnumSet.of(ServerStatus.STARTING), getName() + "...");
        setMessage("Sending start request to the server");
        IntegrationServer server = IntegrationServer.getInstance();
        Admin call = server.getServerCall(Admin.class);
        getEngine().start(call, (StartCallback) getCallback());
    }
View Full Code Here

        private void uploadWsdl(WsdlFile wsdl) {
            WaitLock waitLock = waitService.startWait();
            if (wsdl.isRemote()) {
                WsdlUtils.uploadRemoteWsdl(wsdl.getLocator(), new UploadRemoteWsdlCallback(waitLock));
            } else {
                IntegrationServer server = IntegrationServer.getInstance();
                WsdlProvider serverInterface = server.getServerCall(WsdlProvider.class);
                WsdlUploader uploader = new WsdlUploader(serverInterface, project.getFileStore());
                uploader.upload(new File(wsdl.getLocator()), new UploadLocalWsdlCallback(waitLock));
            }
        }
View Full Code Here

    @Override
    protected void runImpl() throws InterruptedException {
        setMessage(Strings.get("User.UploadJob.Started"));
        List<User> users = model.getUsers();
        List<Group> groups = model.getGroups();
        IntegrationServer server = IntegrationServer.getInstance();
        UserAdmin call = server.getServerCall(UserAdmin.class);
        call.setUsersAndGroups(users, groups, internalCallback);
    }
View Full Code Here

    private void uploadJitterPack(final IntegrationProject project, final JitterPack jp, final String tag) {
        // Check if the user has cancelled the process
        if (Thread.currentThread().isInterrupted()) {
            return;
        }
        IntegrationServer server = IntegrationServer.getInstance();
        IntegrationProjectDeployer deployer = server.getServerCall(IntegrationProjectDeployer.class);
        JitterPackServerBackup backup = new JitterPackServerBackup(project.getID(), jp.getFile(), tag);
        deployer.uploadJitterPack(backup, new UploadJitterPackCallback() {

            @Override
            public void uploadComplete() {
View Full Code Here

    private boolean deploy(IntegrationProject project) {
      consoleWriter.log("Deploying the project " + project.getName() + "...");
        project.markAsDeployDirty();
        DeployData data = convertProjectToDeployData(project);
        DeployCallbackImpl cb = new DeployCallbackImpl(project, this.consoleWriter);
        IntegrationServer server = IntegrationServer.getInstance();
        IntegrationProjectDeployer call = server.getServerCall(IntegrationProjectDeployer.class);
        call.deployProject(data, cb);
        return cb.waitUntilDone();
    }
View Full Code Here

TOP

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

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.