Examples of ApplicationConfiguration


Examples of org.wso2.carbon.application.deployer.config.ApplicationConfiguration

                String artifactsXmlPath = currentAppPath + AppDeployerConstants.APP_ARTIFACTS_XML;
                if (configRegistry.resourceExists(artifactsXmlPath)) {
                    Resource artifactXmlResource = configRegistry.get(artifactsXmlPath);
                    InputStream artifactsXmlStream = artifactXmlResource.getContentStream();
                    if (artifactsXmlStream != null) {
                        ApplicationConfiguration appConfig =
                                new ApplicationConfiguration(this, artifactsXmlStream);
                        carbonApp.setAppConfig(appConfig);
                    }
                }

                String dependencyPath = currentAppPath + AppDeployerConstants.APP_DEPENDENCIES;
View Full Code Here

Examples of org.wso2.carbon.application.deployer.config.ApplicationConfiguration

     *
     * @param carbonApp - all information about the existing artifacts are in this instance
     * @param axisConfig - AxisConfiguration of the current tenant
     */
    public void undeployArtifacts(CarbonApplication carbonApp, AxisConfiguration axisConfig) {
        ApplicationConfiguration appConfig = carbonApp.getAppConfig();
        List<Artifact.Dependency> deps = appConfig.getApplicationArtifact().getDependencies();
       
        List<Artifact> artifacts = new ArrayList<Artifact>();
        for (Artifact.Dependency dep : deps) {
            if (dep.getArtifact() != null) {
                artifacts.add(dep.getArtifact());
View Full Code Here

Examples of org.zanata.ApplicationConfiguration

    public Session getSession() throws NamingException {
        return super.getSession();
    }

    protected void setup() {
        ApplicationConfiguration appConfig =
                ServiceLocator.instance().getInstance(
                        ApplicationConfiguration.class);

        // Override default properties
        setHost(appConfig.getEmailServerHost());
        setPort(appConfig.getEmailServerPort());
        setUsername(appConfig.getEmailServerUsername());
        setPassword(appConfig.getEmailServerPassword());
        setTls(appConfig.useEmailServerTls());
        setSsl(appConfig.useEmailServerSsl());
    }
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.