Examples of buildConfiguration()


Examples of com.volantis.mcs.dom2theme.extractor.ExtractorConfigurationBuilder.buildConfiguration()

        configurationBuilder.setDeviceStyleSheet(compiledStyleSheet);

        configurationBuilder.setDetailsSet(detailsSet);

        return configurationBuilder.buildConfiguration();
    }

    /**
     * Compile the device style sheet.
     *
 
View Full Code Here

Examples of com.volantis.mcs.runtime.configuration.xml.TestXmlConfigurationBuilder.buildConfiguration()

        }
        buffer.append("</pipeline-configuration>");

        TestXmlConfigurationBuilder configBuilder =
                new TestXmlConfigurationBuilder(buffer.toString());
        MarinerConfiguration marinerConfig = configBuilder.buildConfiguration();
        assertNotNull("MarinerConfig should not be null", marinerConfig);

        return marinerConfig;
    }
View Full Code Here

Examples of com.volantis.mcs.runtime.configuration.xml.XMLServletConfigurationBuilder.buildConfiguration()

                new XMLServletConfigurationBuilder(cc);
       
        // Add the digester parsing rules for the MPS plugin.
        // @todo make this part of the internal API and move to MPS
        configBuilder.addApplicationPluginRuleSet(new MpsPluginRuleSet());
        mariner = configBuilder.buildConfiguration();

        // Create references to all the simple sub-objects
        AgentConfiguration agent = mariner.getAgent();
        AppServerConfiguration appServer = mariner.getAppServer();
        DebugConfiguration debug = mariner.getDebug();
View Full Code Here

Examples of net.flexmojos.oss.configurator.Configurator.buildConfiguration()

        try
        {
            if ( SWC.equals( getProjectType() ) )
            {
                cfg.buildConfiguration( (ICompcConfiguration) this, parameters );
            }
            else
            {
                cfg.buildConfiguration( (ICommandLineConfiguration) this, getSourceFile(), parameters );
            }
View Full Code Here

Examples of org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration()

    public void bootstrap() throws Exception {
        ConfigurationType config = ConfigurationDocument.Factory.parse(plan).getConfiguration();

        ReadOnlyRepository repository = new ReadOnlyRepository(localRepo);
        ServiceConfigBuilder builder = new ServiceConfigBuilder(null, repository);
        ConfigurationData configurationData = builder.buildConfiguration(config, null, buildDir);

        JarOutputStream out = new JarOutputStream(new FileOutputStream(carFile));
        ExecutableConfigurationUtil.writeConfiguration(configurationData, out);
        out.flush();
        out.close();
View Full Code Here

Examples of org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration()

            File configurationDir = null;
            try {
                configurationDir = configStore.createNewConfigurationDir();

                // build the deployer-system configuration into the configurationDir
                ConfigurationData configurationData = builder.buildConfiguration(deployerSystemConfig, null, configurationDir);

                ExecutableConfigurationUtil.createExecutableConfiguration(configurationData, manifest, configurationDir, new File(deployerJar));

                // install the configuration
                configStore.install(configurationData, configurationDir);
View Full Code Here

Examples of org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration()

            // build and install the j2ee-deployer configuration
            try {
                configurationDir = configStore.createNewConfigurationDir();

                // build the j2ee-deployer configuration into the configurationDir
                ConfigurationData configurationData = builder.buildConfiguration(j2eeDeployerConfig, domain, server, configurationDir);

                // install the configuration
                configStore.install(configurationData, configurationDir);
            } catch (Throwable e) {
                DeploymentUtil.recursiveDelete(configurationDir);
View Full Code Here

Examples of org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration()

            File tempDir = null;
            try {
                tempDir = DeploymentUtil.createTempDir();
                File planFile = new File(basedir, "src/test-data/data/external-application-plan.xml");
                Object plan = configBuilder.getDeploymentPlan(planFile, rarFile);
                configBuilder.buildConfiguration(plan, rarFile, tempDir);
            } finally {
                DeploymentUtil.recursiveDelete(tempDir);
            }
        } finally {
            kernel.shutdown();
View Full Code Here

Examples of org.jbehave.core.configuration.AnnotationBuilder.buildConfiguration()

  @Test
  public void shouldBuildConfigurationFromAnnotationsUsingConfigureAndGuiceConverters() {
    final AnnotationBuilder builderAnnotated = new NeedleAnnotationBuilder(
        AnnotatedUsingConfigureAndNeedleConverters.class);
    final Configuration configuration = builderAnnotated
        .buildConfiguration();
    assertThatCustomObjectIsConverted(configuration.parameterConverters());
    assertThatDateIsConvertedWithFormat(
        configuration.parameterConverters(), new SimpleDateFormat(
            "yyyy-MM-dd"));
View Full Code Here

Examples of org.jbehave.core.configuration.AnnotationBuilder.buildConfiguration()

  @Test
  public void shouldBuildDefaultConfigurationIfAnnotationOrAnnotatedValuesNotPresent() {
    final AnnotationBuilder builderNotAnnotated = new NeedleAnnotationBuilder(
        NotAnnotated.class);
    assertThatConfigurationIs(builderNotAnnotated.buildConfiguration(),
        new MostUsefulConfiguration());
    final AnnotationBuilder builderAnnotatedWithoutModules = new NeedleAnnotationBuilder(
        AnnotatedWithoutInjectors.class);
    assertThatConfigurationIs(
        builderAnnotatedWithoutModules.buildConfiguration(),
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.