diff options
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.x/tutorials/store/warehouse-spring/warehouse-context.xml | 29 | ||||
-rw-r--r-- | branches/sca-java-1.x/tutorials/store/warehouse-spring/warehouse-spring.composite | 2 |
2 files changed, 30 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/tutorials/store/warehouse-spring/warehouse-context.xml b/branches/sca-java-1.x/tutorials/store/warehouse-spring/warehouse-context.xml new file mode 100644 index 0000000000..ed718d1403 --- /dev/null +++ b/branches/sca-java-1.x/tutorials/store/warehouse-spring/warehouse-context.xml @@ -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="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:sca="http://www.springframework.org/schema/sca" + xsi:schemaLocation="http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans.xsd"> + + <bean id="warehouse" class="services.WarehouseImpl"> + </bean> + +</beans> diff --git a/branches/sca-java-1.x/tutorials/store/warehouse-spring/warehouse-spring.composite b/branches/sca-java-1.x/tutorials/store/warehouse-spring/warehouse-spring.composite index df14a68d1a..bfe789542d 100644 --- a/branches/sca-java-1.x/tutorials/store/warehouse-spring/warehouse-spring.composite +++ b/branches/sca-java-1.x/tutorials/store/warehouse-spring/warehouse-spring.composite @@ -33,7 +33,7 @@ </component> <component name="Warehouse"> - <implementation.java class="services.WarehouseImpl"/> + <implementation.spring location="warehouse-context.xml"/> <service name="Warehouse"> <t:binding.jsonrpc uri="http://localhost:8088/Warehouse"/> <binding.jms initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFactory" |