axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertlazar...@apache.org
Subject svn commit: r472914 - /webservices/axis2/branches/java/1_1/xdocs/1_1/spring.html
Date Thu, 09 Nov 2006 14:31:06 GMT
Author: robertlazarski
Date: Thu Nov  9 06:31:05 2006
New Revision: 472914

URL: http://svn.apache.org/viewvc?view=rev&rev=472914
Log:
clarified a bit further the Spring inside an AAR section

Modified:
    webservices/axis2/branches/java/1_1/xdocs/1_1/spring.html

Modified: webservices/axis2/branches/java/1_1/xdocs/1_1/spring.html
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/xdocs/1_1/spring.html?view=diff&rev=472914&r1=472913&r2=472914
==============================================================================
--- webservices/axis2/branches/java/1_1/xdocs/1_1/spring.html (original)
+++ webservices/axis2/branches/java/1_1/xdocs/1_1/spring.html Thu Nov  9 06:31:05 2006
@@ -370,6 +370,15 @@
 ./spring/MyBeanImpl.class
 ./spring/SpringAwareService.class
 ./spring/SpringInit.class </pre> </source>
+
+<p>As explained in the <a href="#24">Outside a Servlet Container</a> section,
likewise the
+'Spring inside an AAR' config needs to hook Axis2 and Spring together via a Spring bean.

+Place the following in your Spring config file:</p>
+<pre>
+  &lt;!-- Configure spring to give a hook to axis2 without a ServletContext --&gt;
+  &lt;bean id="applicationContext" 
+    class="org.apache.axis2.extensions.spring.receivers.ApplicationContextHolder" /&gt;
+</pre>
 <ul>
   <li><strong><a name="262"></a>The Spring inside an AAR init class</strong></li>
 </ul>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message