summaryrefslogtreecommitdiffstats
path: root/sandbox/lresende/sca/samples/organization-das/src/main/resources/organization-spring-context.xml
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-08-11 03:32:25 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-08-11 03:32:25 +0000
commit9fe9a0d09adb6c32391580e66f36c528ae10abe0 (patch)
tree9b0e758d977a427847a2d50f91296d27bf0a7afd /sandbox/lresende/sca/samples/organization-das/src/main/resources/organization-spring-context.xml
parent2a25d97953be52451c073f8abc22034283c6d8c9 (diff)
Adding spring layer to organization sample application
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@684626 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/lresende/sca/samples/organization-das/src/main/resources/organization-spring-context.xml')
-rw-r--r--sandbox/lresende/sca/samples/organization-das/src/main/resources/organization-spring-context.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/sandbox/lresende/sca/samples/organization-das/src/main/resources/organization-spring-context.xml b/sandbox/lresende/sca/samples/organization-das/src/main/resources/organization-spring-context.xml
new file mode 100644
index 0000000000..c814afe28b
--- /dev/null
+++ b/sandbox/lresende/sca/samples/organization-das/src/main/resources/organization-spring-context.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<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
+ http://www.springframework.org/schema/sca http://www.springframework.org/schema/sca/spring-sca.xsd">
+
+ <sca:service name="OrganizationService"
+ type="organization.services.OrganizationService" target="OrganizationServiceBean"/>
+
+ <bean id="OrganizationServiceBean" class="organization.services.OrganizationServiceImpl">
+ <property name="organizationDataService" ref="OrganizationDataServiceBean"/>
+ </bean>
+
+ <bean id="OrganizationDataServiceBean" class="organization.das.OrganizationDataServiceImpl">
+
+ </bean>
+</beans>