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