servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r411087 - in /incubator/servicemix/trunk/servicemix-jsr181/src/test/resources: good2/xbean.xml org/apache/servicemix/jsr181/spring.xml
Date Fri, 02 Jun 2006 08:30:11 GMT
Author: gnodet
Date: Fri Jun  2 01:30:11 2006
New Revision: 411087

URL: http://svn.apache.org/viewvc?rev=411087&view=rev
Log:
Add snippets for doc

Modified:
    incubator/servicemix/trunk/servicemix-jsr181/src/test/resources/good2/xbean.xml
    incubator/servicemix/trunk/servicemix-jsr181/src/test/resources/org/apache/servicemix/jsr181/spring.xml

Modified: incubator/servicemix/trunk/servicemix-jsr181/src/test/resources/good2/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-jsr181/src/test/resources/good2/xbean.xml?rev=411087&r1=411086&r2=411087&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-jsr181/src/test/resources/good2/xbean.xml (original)
+++ incubator/servicemix/trunk/servicemix-jsr181/src/test/resources/good2/xbean.xml Fri Jun
 2 01:30:11 2006
@@ -1,14 +1,23 @@
 <?xml version="1.0"?>
 <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
 
+  <!-- START SNIPPET: embedded -->
   <jsr181:endpoint endpoint="endpoint1"
   				   typeMapping="xmlbeans">
     <jsr181:pojo>
       <bean class="test.EchoService" />
     </jsr181:pojo>
   </jsr181:endpoint>
+  <!-- END SNIPPET: embedded -->
+  
+  <!-- START SNIPPET: reference -->
+  <bean id="myPojo" class="test.EchoService" />
+  <jsr181:endpoint pojo="#myPojo" />
+  <!-- END SNIPPET: reference -->
 
+  <!-- START SNIPPET: byclass -->
   <jsr181:endpoint pojoClass="test.EchoService2"
   				   annotations="none" />
+  <!-- END SNIPPET: byclass -->
   				   
 </beans>

Modified: incubator/servicemix/trunk/servicemix-jsr181/src/test/resources/org/apache/servicemix/jsr181/spring.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-jsr181/src/test/resources/org/apache/servicemix/jsr181/spring.xml?rev=411087&r1=411086&r2=411087&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-jsr181/src/test/resources/org/apache/servicemix/jsr181/spring.xml
(original)
+++ incubator/servicemix/trunk/servicemix-jsr181/src/test/resources/org/apache/servicemix/jsr181/spring.xml
Fri Jun  2 01:30:11 2006
@@ -13,6 +13,7 @@
     <sm:activationSpecs>
   <!-- END SNIPPET: dot -->
 
+      <!-- START SNIPPET: lightweight -->  
       <sm:activationSpec>
       	<sm:component>
             <jsr181:component>
@@ -23,6 +24,7 @@
             </jsr181:component>
         </sm:component>
       </sm:activationSpec>
+      <!-- END SNIPPET: lightweight -->  
 
     </sm:activationSpecs>
   </sm:container>



Mime
View raw message