Examples of submit()


Examples of org.jboss.arquillian.core.api.threading.ExecutorService.submit()

        Assert.assertFalse(getManager().getContext(ManagerTest2Context.class).isActive());

        getManager().getContext(ManagerTestContext.class).activate();

        Future<String> future = service.submit(new Callable<String>() {

            @Inject Event<String> event;

            @Override
            public String call() throws Exception {
View Full Code Here

Examples of org.jgroups.blocks.executor.ExecutionService.submit()

                }
            }

            private void submit(boolean wait) {
                Callable<Void> task=new Wait(wait);
                NotifyingFuture<Void> future=executionService.submit(task);
                submittedTasks.incrementAndGet();
                future.setListener(listener);
            }

        });
View Full Code Here

Examples of org.jitterbit.application.ui.job.UiJob.submit()

            public void cancelled() {
                // Nothing to do
            }
        };
        UiJob job = new LoadStructuresJob(invoker, treeMapper.getTreeStructureCache(), true);
        job.submit();
    }


    private class TreePreparer implements Runnable {
View Full Code Here

Examples of org.jitterbit.integration.client.admin.engine.GetEngineStatusJob.submit()

        EventQueue.invokeLater(new Runnable() {

            @Override
            public void run() {
                UiJob job = new GetEngineStatusJob(engine);
                job.submit(container, 125);
            }
        });
    }

}
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.entity.transformation.tree.LoadStructuresJob.submit()

            public void cancelled() {
                // Nothing to do
            }
        };
        UiJob job = new LoadStructuresJob(invoker, treeMapper.getTreeStructureCache(), true);
        job.submit();
    }


    private class TreePreparer implements Runnable {
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.entity.webservice.GetJtrJob.submit()

    private class StructureLoader implements CallStructureRetriever {

        public synchronized void load() {
            WebServiceOperationInfo opInfo = getObject().getOperationInfo();
            UiJob job = new GetJtrJob(this, opInfo, getWaitService());
            job.submit();
        }

        @Override
        public void onJTRsRetrieved(WebServiceCallStructures structures) {
            cacheRequestStructure(structures.request());
View Full Code Here

Examples of org.jitterbit.integration.client.ui.operation.runner.SubmitOperationJob.submit()

            return new OperationRunner() {

                @Override
                public void run(Operation op, int timesToRun, Receiver<Long> callback) {
                    SubmitOperationJob job = new SubmitOperationJob(op, 1, callback);
                    job.submit();
                }

                @Override
                public void runWithSourceData(Operation op, Reader sourceData, Receiver<Long> callback) {
                    throw new UnsupportedOperationException();
View Full Code Here

Examples of org.jitterbit.integration.client.ui.project.info.ProjectsInfoDownloader.submit()

        if (model.isDownloadingInfo()) {
            return;
        }
        ProjectsInfoDownloader job = new ProjectsInfoDownloader(model);
        job.setCache(cache);
        job.submit();
    }

}
View Full Code Here

Examples of org.jitterbit.integration.client.ui.scheduler.TestLocalScheduleJob.submit()

            if (isValid()) {
                TestLocalScheduleJob job = new TestLocalScheduleJob(schedule);
                job.setNumberOfRuns(NumberOfSimulatedRunsPreference.get());
                job.setResultReceiver(new ResultDisplayer(schedule, page));
                WaitService waitService = (page != null ? page.getWaitService() : appWin);
                job.submit(waitService, 0);
            } else {
                Alert.error("The Schedule is invalid.", "Invalid Schedule");
            }
        }
View Full Code Here

Examples of org.jitterbit.integration.loadsource.client.LoadSourceDataJob.submit()

    }

    private void loadSourceDataImpl(LoadSourceDataInput input) {
        LoadSourceDataJob job = createLoadSourceDataJob(input);
        service.removeTestData();
        job.submit(page.getWaitService(), 0);
    }

    private LoadSourceDataJob createLoadSourceDataJob(LoadSourceDataInput input) {
        CallbackResult internalCallback = new LoadSourceHandler(page, callback);
        return new LoadSourceDataJob(service, input, tx.getID(), tx.getName(), internalCallback);
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.