Examples of ApplicationName


Examples of com.springsource.insight.intercept.application.ApplicationName

        boolean active = generator.isGeneratingExternalResources();
        assertTrue("Active state should be true after update", active);

        // add application to ignore list
        ApplicationName appName = ApplicationName.valueOf("test-app");
        registry.set(CollectionSettingNames.createApplicationCollectionSettingName(appName), Boolean.FALSE);

        Collection<ApplicationName> apps = generator.getDisabledApplicationNames();
        assertEquals("Total disabled apps", 1, apps.size());
        assertTrue(appName + "is known when disabled", generator.isApplicationNameKnown(appName));

        ApplicationName disabledAppName = ListUtil.getFirstMember(apps);
        assertEquals("The only disabled app", appName, disabledAppName);

        // removed application from ignore list
        registry.set(CollectionSettingNames.createApplicationCollectionSettingName(appName), Boolean.TRUE);
View Full Code Here

Examples of com.springsource.insight.intercept.application.ApplicationName

        registry.addListener(this);
        registry.register(CollectionSettingNames.CS_QUERY_EXRTERNAL_RESOURCE_NAME, Boolean.FALSE);
    }

    public Collection<ExternalResourceDescriptor> createAndAddQueryExternalResourceDescriptors(Collection<ExternalResourceDescriptor> dbDescriptors, Trace trace) {
        ApplicationName appName = trace.getAppName();
        registerApplicationNameIfNeeded(appName);

        if (!(active.get() && shouldGenerateQueryExternalResources(dbDescriptors, appName))) {
            return dbDescriptors;
        }
View Full Code Here

Examples of com.springsource.insight.intercept.application.ApplicationName

        if (!key.startsWith(CollectionSettingNames.APP_QUERY_EXRTERNAL_RESOURCE_KEY_NAME)) {
            return;
        }

        String appNameStr = key.substring(CollectionSettingNames.APP_QUERY_EXRTERNAL_RESOURCE_KEY_NAME.length());
        ApplicationName appName = ApplicationName.valueOf(appNameStr);
        if (knownApps.add(appName)) {
            _logger.info("incrementalUpdate(" + appName + ") new application");
        }

        boolean newEnabledValue = CollectionSettingsRegistry.getBooleanSettingValue(value);
View Full Code Here

Examples of org.apache.airavata.schemas.gfac.ApplicationDeploymentDescriptionType.ApplicationName

    /*
     * App
     */
    ApplicationDeploymentDescription appDesc = new ApplicationDeploymentDescription();
    ApplicationDeploymentDescriptionType app = appDesc.getType();
    ApplicationName name = ApplicationName.Factory.newInstance();
    name.setStringValue("EchoLocal");
    app.setApplicationName(name);
   
    /*
     * Use bat file if it is compiled on Windows
     */
 
View Full Code Here

Examples of org.apache.airavata.schemas.gfac.ApplicationDeploymentDescriptionType.ApplicationName

    /*
     * App
     */
    ApplicationDeploymentDescription appDesc = new ApplicationDeploymentDescription();
    ApplicationDeploymentDescriptionType app = appDesc.getType();
    ApplicationName name = ApplicationName.Factory.newInstance();
    name.setStringValue("EchoLocal");
    app.setApplicationName(name);
    app.setExecutableLocation("/bin/echo");
    app.setScratchWorkingDirectory("/tmp");
    app.setStaticWorkingDirectory("/tmp");
    app.setInputDataDirectory("/tmp/input");
View Full Code Here

Examples of org.apache.airavata.schemas.gfac.ApplicationDeploymentDescriptionType.ApplicationName

    /*
     * App
     */
    ApplicationDeploymentDescription appDesc = new ApplicationDeploymentDescription();
    ApplicationDeploymentDescriptionType app = appDesc.getType();
    ApplicationName name = ApplicationName.Factory.newInstance();
    name.setStringValue("EchoLocal");
    app.setApplicationName(name);
   
    /*
     * Use bat file if it is compiled on Windows
     */
 
View Full Code Here

Examples of org.glassfish.api.admin.config.ApplicationName

            return null;
        }
    }

   public String getContextRoot(String moduleID) {
        ApplicationName module = getModule(moduleID);
        if (module == null) {
            return null;
        }

        if (module instanceof Application) {
View Full Code Here

Examples of org.glassfish.api.admin.config.ApplicationName

            return null;
        }
    }

    public String getLibraries(String moduleID) {
        ApplicationName module = getModule(moduleID);
        if (module == null) {
            return null;
        }

        if (module instanceof Application) {
View Full Code Here

Examples of org.glassfish.api.admin.config.ApplicationName

            return null;
        }
    }

    public String getLocation(String moduleID) {
        ApplicationName module = getModule(moduleID);
        if (module == null) {
            return null;
        }

        String location = null;
View Full Code Here

Examples of org.glassfish.api.admin.config.ApplicationName

            return null;
        }           
    }

    public String getDirectoryDeployed(String moduleID) {
        ApplicationName module = getModule(moduleID);
        if (module == null) {
            return null;
        }

        if (module instanceof Application) {
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.