Examples of EnvironmentInteraction


Examples of com.volantis.shared.environment.EnvironmentInteraction

     * tests the createEnvironmentInteraction method
     * @throws Exception if an error occurs
     */
    public void testCreateEnvironmentInteraction() throws Exception {
        // factor an EnvironmentInteraction
        EnvironmentInteraction interaction =
                factory.createEnvironmentInteraction(null,
                                                     null,
                                                     null,
                                                     null,
                                                     null);

        assertEquals("createEnvironmentInteraction should return a " +
                     "HttpServletEnvironmentInteractionImpl instance",
                     HttpServletEnvironmentInteractionImpl.class,
                     interaction.getClass());
    }
View Full Code Here

Examples of com.volantis.shared.environment.EnvironmentInteraction

    /**
     * @todo Not sure what to do here
     */
    public EnvironmentInteraction createRootEnvironmentInteraction() {
        EnvironmentInteraction rootInteraction = null;
        ServletEnvironmentFactory servletEnvironmentFactory = null;
        ServletEnvironment servletEnvironment = null;
                                                                                                                                                                                                   
        servletEnvironmentFactory =
                ServletEnvironmentFactory.getDefaultInstance();
View Full Code Here

Examples of com.volantis.shared.environment.EnvironmentInteraction

        pipelineConfiguration.storeConfiguration(
                DynamicProcessConfiguration.class,
                dynamicConfig);
       
        // create a XMLPipelineContext
        EnvironmentInteraction interaction = null;
        XMLPipelineContext context = factory.createPipelineContext(
                    pipelineConfiguration,
                    interaction);

        // create a pipeline
View Full Code Here

Examples of com.volantis.shared.environment.EnvironmentInteraction

        pipelineConfiguration.storeConfiguration(
                DynamicProcessConfiguration.class,
                dynamicConfig);
       
        // create a XMLPipelineContext
        EnvironmentInteraction interaction = null;
        XMLPipelineContext context = factory.createPipelineContext(
                pipelineConfiguration,
                interaction);

        // create a pipeline
View Full Code Here

Examples of com.volantis.shared.environment.EnvironmentInteraction

        factory = new TestPipelineFactory();
        // create an empty pipeline configuration
        XMLPipelineConfiguration pipelineConfig =
                factory.createPipelineConfiguration();
        // ok to use null interaction for this test
        EnvironmentInteraction rootInteraction = null;
               
        context = factory.createPipelineContext(pipelineConfig,
                                                rootInteraction);   
    }
View Full Code Here

Examples of com.volantis.shared.environment.EnvironmentInteraction

        // create a config
        XMLPipelineConfiguration config =
                factory.createPipelineConfiguration();
       
        // create an environment interaction
        EnvironmentInteraction interaction =
                ServletEnvironmentFactory.getDefaultInstance()
                    .createEnvironmentInteraction(null, null, null, null,null);
       
        // factor a context
        XMLPipelineContext context =
View Full Code Here

Examples of com.volantis.shared.environment.EnvironmentInteraction

        XMLPipelineConfiguration pipelineConfiguration =
                createPipelineConfiguration();


        // OK to us a null EnvironmentInteraction for this test
        EnvironmentInteraction interaction = null;       
        return createPipelineContext(pipelineConfiguration, interaction);       
       
    }
View Full Code Here

Examples of com.volantis.shared.environment.EnvironmentInteraction

                factory.createPipelineConfiguration();
       
        // allow sublcasses to register configurations
        registerConfiguration(pipelineConfig);
       
        EnvironmentInteraction rooInteraction = null;
       
        XMLPipelineContext context = 
                factory.createPipelineContext(pipelineConfig, rooInteraction);
       
        XMLPipelineProcess pipelineProcess =
View Full Code Here

Examples of com.volantis.shared.environment.EnvironmentInteraction

    /**
     * Tests the createEnvironmentInteraction method
     * @throws Exception if an exception occurs
     */         
    public void test() throws Exception {
        EnvironmentInteraction interaction =
                factory.createEnvironmentInteraction(null,
                                                     null,
                                                     null,
                                                     null,
                                                     null);       
        assertEquals("createEnvironmentInteraction should create a " +
                     "ServletEnvironmentInteractionImpl instance",
                     ServletEnvironmentInteractionImpl.class,
                     interaction.getClass());       
    }
View Full Code Here

Examples of com.volantis.shared.environment.EnvironmentInteraction

                EnvironmentFactory.getDefaultInstance();
        EnvironmentInteractionTracker envTracker =
                environmentFactory.createInteractionTracker();

        //create a root environment interaction to encapsulate the request
        EnvironmentInteraction rootEnvironmentInteraction =
                createRootEnvironmentInteraction(
                        httpRequest, httpResponse);
        envTracker.pushEnvironmentInteraction(rootEnvironmentInteraction);

        final ExpressionContext exprContext =
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.