cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Diephouse (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CXF-175) CXFServlet should pull the Spring ApplicationContext out of the ServletContext if it is available
Date Wed, 08 Nov 2006 08:24:53 GMT
     [ http://issues.apache.org/jira/browse/CXF-175?page=all ]

Dan Diephouse closed CXF-175.
-----------------------------

    Fix Version/s: 2.0-M1
                       (was: 2.0-M2)
       Resolution: Fixed

This is now implemented in SVN.

> CXFServlet should pull the Spring ApplicationContext out of the ServletContext if it
is available
> -------------------------------------------------------------------------------------------------
>
>                 Key: CXF-175
>                 URL: http://issues.apache.org/jira/browse/CXF-175
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Dan Diephouse
>         Assigned To: willem Jiang
>             Fix For: 2.0-M1
>
>
> If a user already has a spring instance running, we should take advantage of that and
use their context as our parent context. This can be done by doing:
> ServletContext servletCtx = getServletContext();
> ApplicationContext parent = (ApplicationContext) servletCtx.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);
> This parent context should then be used to create a SpringBus.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message