geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r454790 [5/5] - in /geronimo/xbean/trunk: ./ xbean-spring-itests/ xbean-spring-itests/2.0/ xbean-spring-itests/2.0/src/ xbean-spring-itests/2.0/src/main/ xbean-spring-itests/2.0/src/main/resources/ xbean-spring-itests/2.0/src/main/resources...
Date Tue, 10 Oct 2006 15:46:46 GMT
Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/restaurant-xbean.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/restaurant-xbean.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/restaurant-xbean.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/restaurant-xbean.xml
Tue Oct 10 08:46:36 2006
@@ -0,0 +1,38 @@
+<?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 -->
+<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>
+</beans>
+<!-- END SNIPPET: xml -->

Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/salad-normal.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/salad-normal.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/salad-normal.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/salad-normal.xml
Tue Oct 10 08:46:36 2006
@@ -0,0 +1,29 @@
+<?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.
+
+-->
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<beans>
+
+  <bean id="saladService" class="org.apache.xbean.spring.example.SaladService">
+    <constructor-arg index="0" value="Cesar"/>
+    <constructor-arg index="1" value="Small"/>
+    <constructor-arg index="2" value="true"/>
+  </bean>
+
+</beans>

Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/salad-xbean.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/salad-xbean.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/salad-xbean.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/salad-xbean.xml
Tue Oct 10 08:46:36 2006
@@ -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 -->
+<beans xmlns:s="http://xbean.apache.org/schemas/salad">
+
+  <s:salad id="saladService" dressing="Cesar" size="Small" addCroutons="true"/>
+  
+</beans>
+<!-- END SNIPPET: xml -->
+

Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/soup-normal.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/soup-normal.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/soup-normal.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/soup-normal.xml
Tue Oct 10 08:46:36 2006
@@ -0,0 +1,31 @@
+<?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.
+
+-->
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<beans>
+
+  <bean id="soupService" name="nestedBean, nestedValue" class="org.apache.xbean.spring.example.SoupService"
+    init-method="make"
+    destroy-method="eat"
+    factory-method="newSoup"
+    >
+    <constructor-arg index="0" value="French Onion"/>
+  </bean>
+
+</beans>

Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/soup-xbean.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/soup-xbean.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/soup-xbean.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/soup-xbean.xml
Tue Oct 10 08:46:36 2006
@@ -0,0 +1,40 @@
+<?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 -->
+<beans xmlns:s="http://xbean.apache.org/schemas/soup">
+
+  <s:soup id="soupService" type="French Onion"/>
+
+  <s:soup id="nestedBean">
+    <s:type>
+      <bean class="java.lang.String">
+        <constructor-arg index="0" value="French Onion"/>
+      </bean>
+    </s:type>
+  </s:soup>
+
+  <s:soup id="nestedValue">
+    <s:type>
+      <value>French Onion</value>
+    </s:type>
+  </s:soup>
+</beans>
+<!-- END SNIPPET: xml -->
+

Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/spring-extension.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/spring-extension.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/spring-extension.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/spring-extension.xml
Tue Oct 10 08:46:36 2006
@@ -0,0 +1,29 @@
+<?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:b="http://xbean.apache.org/schemas/pizza"
+       xmlns:util="http://www.springframework.org/schema/util">
+  
+  <b:dummy>
+    <b:inner>
+      <util:constant static-field="java.sql.Connection.TRANSACTION_SERIALIZABLE"/>
+    </b:inner>
+  </b:dummy>
+  
+</beans>
\ No newline at end of file

Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/vodka-normal.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/vodka-normal.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/vodka-normal.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/vodka-normal.xml
Tue Oct 10 08:46:36 2006
@@ -0,0 +1,29 @@
+<?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.
+
+-->
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<beans>
+
+  <bean id="vodkaService" class="org.apache.xbean.spring.example.VodkaService">
+    <property name="id" value="vodkaService" />
+    <property name="name" value="Grey Goose" />
+    <property name="vodkaClass" value="org.apache.xbean.spring.example.VodkaService" />
+  </bean>
+
+</beans>

Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/vodka-xbean.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/vodka-xbean.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/vodka-xbean.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/vodka-xbean.xml
Tue Oct 10 08:46:36 2006
@@ -0,0 +1,30 @@
+<?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 -->
+<beans xmlns:b="http://xbean.apache.org/schemas/pizza">
+
+  <b:vodka id="vodkaService">
+    <b:name>Grey Goose</b:name>
+    <b:vodkaClass>org.apache.xbean.spring.example.VodkaService</b:vodkaClass>
+  </b:vodka>
+
+</beans>
+<!-- END SNIPPET: xml -->
+

Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/wine-normal.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/wine-normal.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/wine-normal.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/wine-normal.xml
Tue Oct 10 08:46:36 2006
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<beans>
+
+  <bean id="wineService" class="org.apache.xbean.spring.example.WineService">
+    <constructor-arg value="wineService" />
+    <constructor-arg value="Amarone" />
+  </bean>
+
+</beans>

Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/wine-xbean.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/wine-xbean.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/wine-xbean.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/context/wine-xbean.xml
Tue Oct 10 08:46:36 2006
@@ -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 -->
+<beans xmlns:b="http://xbean.apache.org/schemas/pizza">
+
+  <b:wine id="wineService" name="Amarone"/>
+
+</beans>
+<!-- END SNIPPET: xml -->
+

Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/jndi/jndi.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/jndi/jndi.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/jndi/jndi.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/jndi/jndi.xml
Tue Oct 10 08:46:36 2006
@@ -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 -->

Added: geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/jndi/spring.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/jndi/spring.xml?view=auto&rev=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/jndi/spring.xml
(added)
+++ geronimo/xbean/trunk/xbean-spring-v2c/src/test/resources/org/apache/xbean/spring/jndi/spring.xml
Tue Oct 10 08:46:36 2006
@@ -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>

Modified: geronimo/xbean/trunk/xbean-spring/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/pom.xml?view=diff&rev=454790&r1=454789&r2=454790
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/pom.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/pom.xml Tue Oct 10 08:46:36 2006
@@ -71,6 +71,13 @@
         </dependency>
 
         <dependency>
+            <groupId>org.apache.xbean</groupId>
+            <artifactId>xbean-spring-v2c</artifactId>
+            <version>${pom.version}</version>
+            <optional>true</optional>
+        </dependency>
+
+        <dependency>
             <groupId>commons-logging</groupId>
             <artifactId>commons-logging</artifactId>
         </dependency>
@@ -121,6 +128,11 @@
                                 <artifactItem>
                                     <groupId>org.apache.xbean</groupId>
                                     <artifactId>xbean-spring-v2b</artifactId>
+                                    <version>${pom.version}</version>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.xbean</groupId>
+                                    <artifactId>xbean-spring-v2c</artifactId>
                                     <version>${pom.version}</version>
                                 </artifactItem>
                             </artifactItems>



Mime
View raw message