Package org.impalaframework.web.spring.integration

Examples of org.impalaframework.web.spring.integration.InternalFrameworkIntegrationServlet


        assertEquals(1, factoryBeans.size());
        ServletFactoryBean firstValue = (ServletFactoryBean) ObjectMapUtils.getFirstValue(factoryBeans);
        final Object frameworkServlet = firstValue.getObject();
        assertTrue(frameworkServlet instanceof InternalFrameworkIntegrationServlet);
       
        InternalFrameworkIntegrationServlet integrationServlet = (InternalFrameworkIntegrationServlet) frameworkServlet;
        final DispatcherServlet dispatcherServlet = ReflectionUtils.getFieldValue(integrationServlet, "delegateServlet", DispatcherServlet.class);
       
        assertNotNull(dispatcherServlet);
    }
View Full Code Here


                } else {
                    Thread.currentThread().setContextClassLoader(jasperClassLoader);
                }
            }
           
            InternalFrameworkIntegrationServlet wrapperServlet = new InternalFrameworkIntegrationServlet();
           
            super.afterPropertiesSet();
           
            wrapperServlet.setDelegateServlet(getServlet());
            wrapperServlet.setApplicationContext(getApplicationContext());
           
            getServletContext().setAttribute(JspConstants.JSP_SERVLET, wrapperServlet);
           
        } finally {
            Thread.currentThread().setContextClassLoader(existingClassLoader);
View Full Code Here

TOP

Related Classes of org.impalaframework.web.spring.integration.InternalFrameworkIntegrationServlet

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.