You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dan Diephouse (JIRA)" <ji...@apache.org> on 2006/10/25 07:05:16 UTC
[jira] Created: (CXF-175) CXFServlet should pull the Spring
ApplicationContext out of the ServletContext if it is available
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
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
[jira] Assigned: (CXF-175) CXFServlet should pull the Spring
ApplicationContext out of the ServletContext if it is available
Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
[ 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
[jira] Closed: (CXF-175) CXFServlet should pull the Spring
ApplicationContext out of the ServletContext if it is available
Posted by "Dan Diephouse (JIRA)" <ji...@apache.org>.
[ 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