2 Replies Latest reply on Aug 16, 2012 6:22 AM by aminem

    providing a parent or shared spring context to jbossws-cxf

    aminem

      Hi,

       

      Is it possible to provide a parent context to jboss-cxf ? if yes How ?

       

      I have many class in business layer of my application called by web services as well as @controller generated/invoked by Spring MVC.

       

      Usualy, i just need to add a context parameter parentContextKey in my web.xml file to the main class responsible to instantiate a Spring context (see here for more details).

       

      <context-param>
                          <param-name>parentContextKey</param-name>
                          <param-value>ear.context</param-value>
                </context-param>