You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Charles Moulliard <cm...@gmail.com> on 2009/08/27 10:06:24 UTC

Blueprint Web Application Context - Do we have an equivalent ?

Hi,

Spring OSGI - DM proposes in their package a OSGI class allowing a web
application packaged as a WAR to load the Spring Application Context.

Ex of a web.xml file

    <context-param>
        <param-name>contextClass</param-name>

<param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
        <param-name>contextConfigLocation</param-name>
        <param-value>/WEB-INF/applicationContext.xml</param-value>
    </context-param>

    <listener>

<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>

Do we have something equivalent for blueprint service ?

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com