Package com.volantis.xml.pipeline.sax.drivers

Examples of com.volantis.xml.pipeline.sax.drivers.ConnectionConfigurationImpl


     * @return The newly created {@link PipelineURLContentManager}.
     */
    private static PipelineURLContentManager createManager(
            XMLPipelineConfiguration configuration) {

        ConnectionConfigurationImpl connectionConfiguration =
                (ConnectionConfigurationImpl)
                configuration.retrieveConfiguration(
                        ConnectionConfiguration.class);

        Period timeout = Period.INDEFINITELY;
        if (connectionConfiguration != null) {
            timeout = connectionConfiguration.getTimeoutAsPeriod();
        }

        // get the cache configuration
        URLContentCacheConfiguration urlContentCacheConfiguration =
            (URLContentCacheConfiguration) configuration.retrieveConfiguration(
View Full Code Here


            }

            public Configuration retrieveConfiguration(Object key) {
                Configuration config = null;
                if (key.equals(ConnectionConfiguration.class)) {
                    final ConnectionConfigurationImpl connectionConfig =
                        new ConnectionConfigurationImpl();
                    connectionConfig.setCachingEnabled(true);
                    connectionConfig.setMaxCacheEntries(1000);
                    config = connectionConfig;
                }
                return config;
            }
        };
View Full Code Here

    // JavaDoc inherited
    protected XMLPipelineConfiguration createPipelineConfiguration() {
        final XMLPipelineConfiguration config =
            super.createPipelineConfiguration();
        final ConnectionConfiguration connectionConfiguration =
            new ConnectionConfigurationImpl();
        connectionConfiguration.setCachingEnabled(true);
        connectionConfiguration.setMaxCacheEntries(1000);
        config.storeConfiguration(
            ConnectionConfiguration.class, connectionConfiguration);
        final URLContentCacheConfiguration urlConfig =
            new URLContentCacheConfiguration(config);
        WebDriverConfigurationImpl webdConf = new WebDriverConfigurationImpl() {
View Full Code Here

    // JavaDoc inherited
    protected XMLPipelineConfiguration createPipelineConfiguration() {
        final XMLPipelineConfiguration config = new IntegrationTestHelper().
            getPipelineFactory().createPipelineConfiguration();
        final ConnectionConfiguration connectionConfiguration =
            new ConnectionConfigurationImpl();
        connectionConfiguration.setCachingEnabled(true);
        connectionConfiguration.setMaxCacheEntries(1000);
        config.storeConfiguration(
            ConnectionConfiguration.class, connectionConfiguration);
        return config;
    }
View Full Code Here

        pipelineConfig.storeConfiguration(TransformConfiguration.class,
                transformConfiguration);

        // Store the connection configuration away in the pipeline
        // configuration. This may be null if no configuration is specified
        ConnectionConfigurationImpl connectionConfiguration =
                (ConnectionConfigurationImpl)
                configFileInfo.getConnectionConfiguration();
        pipelineConfig.storeConfiguration(
                ConnectionConfiguration.class,
                connectionConfiguration);
View Full Code Here

TOP

Related Classes of com.volantis.xml.pipeline.sax.drivers.ConnectionConfigurationImpl

Copyright © 2018 www.massapicom. 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.