geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r896281 [2/2] - in /geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint: context/ generator/ jndi/
Date Tue, 05 Jan 2010 23:54:54 GMT
Added: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/vodka-xbean.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/vodka-xbean.xml?rev=896281&view=auto
==============================================================================
--- geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/vodka-xbean.xml
(added)
+++ geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/vodka-xbean.xml
Tue Jan  5 23:54:42 2010
@@ -0,0 +1,33 @@
+<?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: xml -->
+<b:blueprint xmlns:b="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:p="http://xbean.apache.org/schemas/pizza">
+    
+    <p:vodka b:id="vodkaService" >
+        <p:id>vodkaService</p:id>
+        <p:name>
+            Grey Goose
+        </p:name>
+        <p:vodkaClass>org.apache.xbean.blueprint.example.VodkaService</p:vodkaClass>
+    </p:vodka>
+
+</b:blueprint>
+        <!-- END SNIPPET: xml -->
+

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/vodka-xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/vodka-xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/vodka-xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-normal.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-normal.xml?rev=896281&view=auto
==============================================================================
--- geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-normal.xml
(added)
+++ geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-normal.xml
Tue Jan  5 23:54:42 2010
@@ -0,0 +1,27 @@
+<?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.
+
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+
+  <bean id="wineService" class="org.apache.xbean.blueprint.example.WineService">
+    <argument value="wineService" />
+    <argument value="Amarone" />
+  </bean>
+
+</blueprint>

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-normal.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-normal.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-normal.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-xbean.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-xbean.xml?rev=896281&view=auto
==============================================================================
--- geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-xbean.xml
(added)
+++ geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-xbean.xml
Tue Jan  5 23:54:42 2010
@@ -0,0 +1,27 @@
+<?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: xml -->
+<b:blueprint xmlns:b="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns="http://xbean.apache.org/schemas/pizza">
+
+  <wine b:id="wineService" id="wineService" name="Amarone"/>
+
+</b:blueprint>
+<!-- END SNIPPET: xml -->
+

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/context/wine-xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/generator/model-test-xsd-validation.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/generator/model-test-xsd-validation.xml?rev=896281&view=auto
==============================================================================
--- geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/generator/model-test-xsd-validation.xml
(added)
+++ geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/generator/model-test-xsd-validation.xml
Tue Jan  5 23:54:42 2010
@@ -0,0 +1,60 @@
+<?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.
+
+-->
+<beans
+    xmlns="http://www.springframework.org/schema/beans"
+    xmlns:test="http://xbean.apache.org/test"
+    xmlns:util="http://www.springframework.org/schema/util"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="
+        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+        http://xbean.apache.org/test http://xbean.apache.org/test.xsd
+    ">
+
+  <!-- All the following bean declarations are equivalent  -->
+  <test:qname-service id="qname-1">
+    <test:list>
+      <bean class="org.apache.xbean.spring.example.PizzaService">
+        <property name="cheese" value="mucho"/>
+      </bean>
+    </test:list>
+  </test:qname-service>
+
+  <test:qname-service id="qname-2">
+    <test:list>
+      <test:pizza cheese="mucho"/>
+    </test:list>
+  </test:qname-service>
+
+  <test:qname-service id="qname-3">
+    <property name="list">
+      <list>
+        <test:pizza cheese="mucho"/>
+      </list>
+    </property>
+  </test:qname-service>
+
+
+  <test:recipe-service id="recipe-service-1">
+    <test:topRecipe>
+      <test:recipe instructions="lots of sugar"/>
+    </test:topRecipe>
+  </test:recipe-service>
+
+</beans>

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/generator/model-test-xsd-validation.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/generator/model-test-xsd-validation.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/generator/model-test-xsd-validation.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/jndi.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/jndi.xml?rev=896281&view=auto
==============================================================================
--- geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/jndi.xml
(added)
+++ geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/jndi.xml
Tue Jan  5 23:54:42 2010
@@ -0,0 +1,47 @@
+<?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: jndi -->
+<beans>
+  <bean id="jndi" class="org.apache.xbean.spring.jndi.DefaultContext" singleton="true">
+    <property name="entries">
+      <map>
+        <entry key="test/restaurant">
+        
+		  <restaurant id="restaurant" xmlns="http://xbean.apache.org/schemas/pizza" xmlns:foo="http://acme.com"
serviceName="foo:xyz" uri="http://cheese.com">
+		    <dinnerMenu>
+		      <pizza myTopping="Ham" cheese="Mozzarella" size="15"/>
+		      <pizza myTopping="Eggs" cheese="Mozzarella" size="16"/>
+		    </dinnerMenu>
+		
+		    <lunchMenu>
+		      <pizza myTopping="Chicken" cheese="Brie" size="17"/>
+		    </lunchMenu>
+		
+		    <favourite>
+		      <pizza myTopping="Salami" cheese="Edam" size="17"/>
+		    </favourite>
+		  </restaurant>
+		  
+        </entry>
+      </map>
+    </property>
+  </bean>
+</beans>
+<!-- END SNIPPET: jndi -->

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/jndi.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/jndi.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/jndi.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/spring.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/spring.xml?rev=896281&view=auto
==============================================================================
--- geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/spring.xml
(added)
+++ geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/spring.xml
Tue Jan  5 23:54:42 2010
@@ -0,0 +1,45 @@
+<?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.
+
+-->
+<beans>
+
+  <restaurant id="restaurant" xmlns="http://xbean.apache.org/schemas/pizza" xmlns:foo="http://acme.com"
serviceName="foo:xyz" uri="http://cheese.com">
+    <dinnerMenu>
+      <pizza myTopping="Ham" cheese="Mozzarella" size="15"/>
+      <pizza myTopping="Eggs" cheese="Mozzarella" size="16"/>
+    </dinnerMenu>
+
+    <lunchMenu>
+      <pizza myTopping="Chicken" cheese="Brie" size="17"/>
+    </lunchMenu>
+
+    <favourite>
+      <pizza myTopping="Salami" cheese="Edam" size="17"/>
+    </favourite>
+  </restaurant>
+
+  <!-- lets initialise JNDI here -->
+  <bean id="jndi" class="org.apache.xbean.spring.jndi.SpringInitialContextFactory" factory-method="makeInitialContext"
singleton="true">
+    <property name="entries">
+      <map>
+        <entry key="test/restaurant" value-ref="restaurant" />
+      </map>
+    </property>
+  </bean>
+</beans>

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/spring.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/spring.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/xbean/trunk/xbean-blueprint/src/test/resources/org/apache/xbean/blueprint/jndi/spring.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message