Examples of load()


Examples of org.apache.activemq.kaha.ListContainer.load()

        if(useExternalMessageReferences){
            container.setMarshaller(new StringMarshaller());
        }else{
            container.setMarshaller(new CommandMarshaller(wireFormat));
        }
        container.load();
        return container;
    }

    /**
     * @param usageManager
View Full Code Here

Examples of org.apache.activemq.kaha.MapContainer.load()

                    Store store = getStore();
                    MapContainer container = store
                        .getMapContainer(PREPARED_TRANSACTIONS_NAME, "transactions");
                    container.setKeyMarshaller(new CommandMarshaller(wireFormat));
                    container.setValueMarshaller(new TransactionMarshaller(wireFormat));
                    container.load();
                    transactionStore = new KahaTransactionStore(this, container);
                    break;
                } catch (StoreLockedExcpetion e) {
                    LOG.info("Store is locked... waiting " + (STORE_LOCKED_WAIT_DELAY / 1000)
                             + " seconds for the Store to be unlocked.");
View Full Code Here

Examples of org.apache.activemq.store.kahadb.disk.page.PageFile.load()

    private void loadPageFile() throws IOException {
        this.indexLock.writeLock().lock();
        try {
            final PageFile pageFile = getPageFile();
            pageFile.load();
            pageFile.tx().execute(new Transaction.Closure<IOException>() {
                @Override
                public void execute(Transaction tx) throws IOException {
                    if (pageFile.getPageCount() == 0) {
                        // First time this is created.. Initialize the metadata
View Full Code Here

Examples of org.apache.activemq.store.kahadb.scheduler.legacy.LegacyStoreReplayer.load()

        metaData = new JobSchedulerKahaDBMetaData(this);
        pageFile = null;
        loadPageFile();

        LegacyStoreReplayer replayer = new LegacyStoreReplayer(getLegacyStoreArchiveDirectory());
        replayer.load();
        replayer.startReplay(this);

        // Cleanup after replay and store what we've done.
        pageFile.tx().execute(new Transaction.Closure<IOException>() {
            @Override
View Full Code Here

Examples of org.apache.airavata.xbaya.amazonEC2.gui.BucketsLoader.load()

                    S3Service s3Service = new RestS3Service(new AWSCredentials(AmazonCredential.getInstance()
                            .getAwsAccessKeyId(), AmazonCredential.getInstance().getAwsSecretAccessKey()));

                    BucketsLoader bucketsLoader = new BucketsLoader(S3FileChooser.this.engine,
                            S3FileChooser.this.dialog.getDialog());
                    bucketsLoader.load(s3Service, S3FileChooser.this.s3Tree);

                } catch (S3ServiceException s3ex) {
                    S3FileChooser.this.engine.getErrorWindow().error(s3ex);
                }
            }
View Full Code Here

Examples of org.apache.airavata.xbaya.component.registry.ComponentRegistryLoader.load()

//                                        .getRegistry());
//                        serviceDescriptionDialog.open();
                      if (serviceDescriptionDialog.isServiceCreated()){
//                        engine.reloadRegistry();
                        ComponentRegistryLoader loader = ComponentRegistryLoader.getLoader(engine, RegistryConstants.REGISTRY_TYPE_JCR);
                        loader.load(engine.getConfiguration().getJcrComponentRegistry());
                      }
                    } catch (Exception e1) {
                        engine.getGUI().getErrorWindow().error(e1);
                    }
                }
View Full Code Here

Examples of org.apache.airavata.xbaya.myproxy.MyProxyClient.load()

     */
    public static GSSCredential getGSSCredential(String userName, String password, String myproxyServer) {
        MyProxyClient myProxyClient = new MyProxyClient(myproxyServer, XBayaConstants.DEFAULT_MYPROXY_PORT, userName,
                password, XBayaConstants.DEFAULT_MYPROXY_LIFTTIME);
        try {
            myProxyClient.load();
        } catch (MyProxyException e) {
            throw new WorkflowRuntimeException("Failed loading the myproxy", e);
        }
        GSSCredential gssCredential = myProxyClient.getProxy();
        return gssCredential;
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.dialogs.amazon.BucketsLoader.load()

                    S3Service s3Service = new RestS3Service(new AWSCredentials(AmazonCredential.getInstance()
                            .getAwsAccessKeyId(), AmazonCredential.getInstance().getAwsSecretAccessKey()));

                    BucketsLoader bucketsLoader = new BucketsLoader(S3FileChooser.this.xbayaGUI,
                            S3FileChooser.this.dialog.getDialog());
                    bucketsLoader.load(s3Service, S3FileChooser.this.s3Tree);

                } catch (S3ServiceException s3ex) {
                    S3FileChooser.this.xbayaGUI.getErrorWindow().error(s3ex);
                }
            }
View Full Code Here

Examples of org.apache.airavata.xbaya.workflow.WorkflowClient.load()

            if (this.incorrectWorkflowIDs.contains(workflowInstanceID)) {
                // Do not try to load a workflow that failed before.
                return;
            }
            WorkflowClient client = this.engine.getWorkflowClient();
            Workflow loadedWorkflow = client.load(workflowInstanceID, WorkflowType.INSTANCE);
            GraphCanvas canvas = this.engine.getGUI().newGraphCanvas(true);
            canvas.setWorkflow(loadedWorkflow);
        } catch (GraphException e) {
            this.incorrectWorkflowIDs.add(workflowInstanceID);
            logger.error(e.getMessage(), e);
View Full Code Here

Examples of org.apache.axis2.deployment.DeploymentEngine.load()

            throws DeploymentException {
        ConfigurationContext configurationContext = null;
        try {
            DeploymentEngine deploymentEngine =
                    new DeploymentEngine(repositoryName);
            AxisConfiguration configuration = deploymentEngine.load();
            PhaseResolver phaseResolver = new PhaseResolver(configuration);

            Parameter parameter = configuration.getParameter("seralizeLocation");
            String serailzeLocaion = ".";
            if (parameter !=null) {
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.