tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r708314 - /openejb/trunk/openejb3/examples/spring-integration/src/main/resources/movies.xml
Date Mon, 27 Oct 2008 21:04:04 GMT
Author: dblevins
Date: Mon Oct 27 14:04:04 2008
New Revision: 708314

URL: http://svn.apache.org/viewvc?rev=708314&view=rev
Log:
added license and snippet tags

Modified:
    openejb/trunk/openejb3/examples/spring-integration/src/main/resources/movies.xml

Modified: openejb/trunk/openejb3/examples/spring-integration/src/main/resources/movies.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/spring-integration/src/main/resources/movies.xml?rev=708314&r1=708313&r2=708314&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/spring-integration/src/main/resources/movies.xml (original)
+++ openejb/trunk/openejb3/examples/spring-integration/src/main/resources/movies.xml Mon Oct
27 14:04:04 2008
@@ -1,3 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!-- START SNIPPET: code -->
 <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:context="http://www.springframework.org/schema/context"
@@ -8,6 +27,8 @@
 
   <context:annotation-config/>
 
+  <!-- START SNIPPET: bootstrapping -->
+
   <!--
   Required:  Set up a TransactionManager for use by OpenEJB or Spring.
   The Spring PlatformTransactionManager may be used instead.
@@ -31,6 +52,10 @@
   -->
   <bean name="classPathApplication" class="org.apache.openejb.spring.ClassPathApplication"/>
 
+  <!-- END SNIPPET: bootstrapping -->
+
+  <!-- START SNIPPET: resources -->
+
   <bean name="MovieDatabase" class="org.apache.openejb.spring.Resource">
     <property name="type" value="DataSource"/>
     <property name="properties">
@@ -52,7 +77,9 @@
     </property>
   </bean>
 
+  <!-- END SNIPPET: resources -->
 
+  <!-- START SNIPPET: pojos -->
   <bean name="AvailableMovies" class="org.superbiz.spring.AvailableMovies">
     <property name="movies">
       <list>
@@ -124,5 +151,7 @@
       </list>
     </property>
   </bean>
+  <!-- END SNIPPET: pojos -->
 
 </beans>
+<!-- END SNIPPET: code -->



Mime
View raw message