Package org.apache.cocoon.spring.configurator.impl

Examples of org.apache.cocoon.spring.configurator.impl.ChildXmlWebApplicationContext


        final String definition = createDefinition(request.getSitemapURIPrefix(),
                                                   sitemapLocation.substring(pos+1),
                                                   getBeanIncludes(parentContext, contextUrl, config),
                                                   getPropertiesIncludes(parentContext, contextUrl, config),
                                                   getGlobalSitemapVariables(config));
        final ChildXmlWebApplicationContext context = new ChildXmlWebApplicationContext(contextUrl,
                                                                                    definition);
        context.setServletContext(servletContext);
        context.setParent(parentContext);
        if ( classloader != null ) {
            context.setClassLoader(classloader);
        }
        context.refresh();
        return context;
    }
View Full Code Here

TOP

Related Classes of org.apache.cocoon.spring.configurator.impl.ChildXmlWebApplicationContext

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.