cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CXF-175) CXFServlet should pull the Spring ApplicationContext out of the ServletContext if it is available
Date Fri, 03 Nov 2006 06:41:18 GMT
     [ http://issues.apache.org/jira/browse/CXF-175?page=all ]

willem Jiang reassigned CXF-175:
--------------------------------

    Assignee: willem Jiang

> 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-M2
>
>
> 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