Package org.apache.aries.application

Examples of org.apache.aries.application.DeploymentMetadata.store()


        ApplicationMetadata appMetadata = app.getApplicationMetadata();
        appMetadata.store(new File(directory, AppConstants.APPLICATION_MF));

        DeploymentMetadata deploymentMetadata = app.getDeploymentMetadata();
        if (deploymentMetadata != null) {
            deploymentMetadata.store(new File(directory, AppConstants.DEPLOYMENT_MF));
        }
       
        for (BundleInfo bi : app.getBundleInfo()) {
          // bi.getLocation() will return a URL to the source bundle. It may be of the form
          // file:/path/to/my/file.jar, or
View Full Code Here


        // save DEPLOYMENT.MF if it was not there before and application is resolved
        File deploymentMF = new File(inPlaceLocation, AppConstants.DEPLOYMENT_MF);
        if (!deploymentMF.exists()) {
            DeploymentMetadata deploymentMetadata = app.getDeploymentMetadata();
            if (deploymentMetadata != null) {
                deploymentMetadata.store(deploymentMF);
            }
        }
    }

    public ConfigurationData finishInstall(DeploymentContext context, ConfigurationStore targetConfigurationStore)
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.