You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/06/02 10:30:11 UTC
svn commit: r411087 - in
/incubator/servicemix/trunk/servicemix-jsr181/src/test/resources:
good2/xbean.xml org/apache/servicemix/jsr181/spring.xml
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>