Examples of retrieveConfiguration()


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

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

        configuration = (WSDriverConfiguration)pipelineConfiguration.
                retrieveConfiguration(WSDriverConfiguration.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()

        // Synchronize on the configuration to ensure that if a manager is
        // created then it is updated atomically.
        synchronized(configuration) {
            manager = (PipelineURLContentManager)
                    configuration.retrieveConfiguration(MANAGER_KEY);
            if (manager == null) {
                manager = createManager(configuration);

                configuration.storeConfiguration(MANAGER_KEY, manager);
            }
View Full Code Here

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

    protected XMLPipelineConfiguration createPipelineConfiguration() {
        XMLPipelineConfiguration config = super.createPipelineConfiguration();

        DynamicProcessConfiguration dynamicConfig =
                (DynamicProcessConfiguration)
                config.retrieveConfiguration(DynamicProcessConfiguration.class);

        NamespaceRuleSet namespaceRules =
                dynamicConfig.getNamespaceRules(
                        Namespace.PIPELINE.getURI(),
                        true);
View Full Code Here

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

        XMLPipelineContext context = process.getPipelineContext();
        context.setProperty(WebDriverAccessor.class, accessor, false);

        XMLPipelineConfiguration pipelineConfig =
                context.getPipelineConfiguration();
        WebDriverConfiguration config = (WebDriverConfiguration)pipelineConfig.
                retrieveConfiguration(WebDriverConfiguration.class);
        config.setIgnoreContentEnabled(true);

        ByteArrayInputStream is =
                new ByteArrayInputStream(inputText.getBytes());
View Full Code Here

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

        XMLPipelineContext context = process.getPipelineContext();
        context.setProperty(WebDriverAccessor.class, accessor, false);

        XMLPipelineConfiguration pipelineConfig =
                context.getPipelineConfiguration();
        WebDriverConfiguration config = (WebDriverConfiguration)pipelineConfig.
                retrieveConfiguration(WebDriverConfiguration.class);
        pipelineConfig.storeConfiguration(DynamicProcessConfiguration.class,
                new MockDynamicProcessConfiguration());

        // Set the configuration:
View Full Code Here

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

        XMLPipelineContext context = process.getPipelineContext();
        XMLPipelineConfiguration pipelineConfig =
                context.getPipelineConfiguration();

        WebDriverConfiguration config = (WebDriverConfiguration)pipelineConfig.
                retrieveConfiguration(WebDriverConfiguration.class);

        // Config ignore = true
        // process ignore = not set
        boolean ignore = process.shouldIgnoreContent(200);
View Full Code Here

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

        assertTrue("Should ignore content.", ignore);

        process = (HTTPRequestOperationProcess) createTestableProcess();
        context = process.getPipelineContext();
        pipelineConfig = context.getPipelineConfiguration();
        config = (WebDriverConfiguration)pipelineConfig.
                retrieveConfiguration(WebDriverConfiguration.class);

        process.setIgnoreErroredContent("false");
        // config ignore = true
        // process ignore = false
View Full Code Here

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

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

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

        final XMLFilterImpl xmlFilter = new XMLFilterImpl();
        final XMLResponseConditioner xmlConditioner =
                new XMLResponseConditioner(xmlFilter);
View Full Code Here

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

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

            WebDriverConfiguration configuration = (WebDriverConfiguration)
                    pipelineConfiguration.retrieveConfiguration(
                            WebDriverConfiguration.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()

                } else {
                    // There is no configured timeout, so let's take the one,
                    // if any, specified in the generic connection timeout
                    // (remembering to convert from seconds to milliseconds).
                    ConnectionConfiguration connectionConfiguration =
                            (ConnectionConfiguration) pipelineConfiguration.
                            retrieveConfiguration(
                                    ConnectionConfiguration.class);

                    if ((connectionConfiguration != null) &&
                            (connectionConfiguration.getTimeout() > 0)) {
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.