Examples of retrieveConfiguration()


Examples of com.volantis.xml.pipeline.sax.config.XMLPipelineConfiguration.retrieveConfiguration()

        // get hold of the pipeline configuration
        XMLPipelineConfiguration pipelineConfiguration =
                context.getPipelineConfiguration();

        configuration = (TransformConfiguration)
                pipelineConfiguration.retrieveConfiguration(
                        TransformConfiguration.class);

        if (configuration == null) {
            // cannot get hold of the configuration. As this is fatal
            // deliver a fatal error down the pipeline
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.config.XMLPipelineConfiguration.retrieveConfiguration()

            XMLPipelineConfiguration pipelineConfiguration =
                    context.getPipelineConfiguration();

            // Retrieve the configuration
            Configuration config =
                    pipelineConfiguration.retrieveConfiguration(
                            URLRewriteProcessConfiguration.class);

            if (config == null ||
                    !(config instanceof URLRewriteProcessConfiguration)) {
                // Cannot get hold of the configuration. As this is fatal
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.config.XMLPipelineConfiguration.retrieveConfiguration()

        XMLPipelineConfiguration pipelineConfiguration =
                context.getPipelineConfiguration();

        // retrieve the configuration
        Configuration config =
                pipelineConfiguration.retrieveConfiguration(
                        URLToURLCConfiguration.class);

        if (config == null ||
                !(config instanceof URLToURLCConfiguration)) {
            // cannot get hold of the configuration. As this is fatal
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.config.XMLPipelineConfiguration.retrieveConfiguration()

        XMLPipelineConfiguration pipelineConfiguration =
                context.getPipelineConfiguration();

        // retrieve the configuration
        Configuration config =
                pipelineConfiguration.retrieveConfiguration(
                        AbsoluteToRelativeURLConfiguration.class);

        if (config == null ||
                !(config instanceof AbsoluteToRelativeURLConfiguration)) {
            // cannot get hold of the configuration. As this is fatal
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.config.XMLPipelineConfiguration.retrieveConfiguration()

                new IntegrationTestHelper().getPipelineFactory();

        XMLPipelineConfiguration pipelineConfiguration =
                createPipelineConfiguration();
        AbsoluteToRelativeURLConfiguration config =
                (AbsoluteToRelativeURLConfiguration) pipelineConfiguration.
                retrieveConfiguration(AbsoluteToRelativeURLConfiguration.class);

        // Create a XMLPipelineContext
        XMLPipelineContext pipelineContext =
                pipelineFactory.createPipelineContext(
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.config.XMLPipelineConfiguration.retrieveConfiguration()

                new IntegrationTestHelper().getPipelineFactory();

        XMLPipelineConfiguration pipelineConfiguration =
                createPipelineConfiguration();
        AbsoluteToRelativeURLConfiguration config =
                (AbsoluteToRelativeURLConfiguration) pipelineConfiguration.
                retrieveConfiguration(AbsoluteToRelativeURLConfiguration.class);

        // Create a XMLPipelineContext
        XMLPipelineContext pipelineContext =
                pipelineFactory.createPipelineContext(
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.config.XMLPipelineConfiguration.retrieveConfiguration()

        XMLPipelineConfiguration configuration =
                super.createPipelineConfiguration();

        DynamicProcessConfiguration dynamicConfiguration =
                (DynamicProcessConfiguration)
                configuration.retrieveConfiguration(DynamicProcessConfiguration.class);

        NamespaceRuleSet ruleSet = dynamicConfiguration.getNamespaceRules(
                Namespace.PIPELINE.getURI(), true);

        ruleSet.addRule("urlRewriter",
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.config.XMLPipelineConfiguration.retrieveConfiguration()

        try {
            configuration =
                    new IntegrationTestHelper().getPipelineConfiguration();

            DynamicProcessConfiguration dynamic = (DynamicProcessConfiguration)
                    configuration.retrieveConfiguration(
                            DynamicProcessConfiguration.class);
            configureDynamicProcess(dynamic);


        } catch (Exception e) {
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.config.XMLPipelineConfiguration.retrieveConfiguration()

                    pi.getPipelineFactory().createPipelineConfiguration();

        // ensure that a DynamicProcessConfiguration was added
        assertNotNull("DynamicProcessConfiguration was not added to " +
                      "Pipeline configuration",
                      config.retrieveConfiguration(
                              DynamicProcessConfiguration.class));

        // ensure the the Web Driver configuration was added
        assertNotNull("WebDriverConfiguration was not added to " +
                   "Pipeline configuration",
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.config.XMLPipelineConfiguration.retrieveConfiguration()

                              DynamicProcessConfiguration.class));

        // ensure the the Web Driver configuration was added
        assertNotNull("WebDriverConfiguration was not added to " +
                   "Pipeline configuration",
                   config.retrieveConfiguration(
                           WebDriverConfiguration.class));
       
        // ensure the the Cache configuration was added
        assertNotNull("CacheProcessConfiguration was not added to " +
                      "Pipeline configuration",
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.