diff options
Diffstat (limited to 'sandbox/lresende/sca/samples/organization-das/src/main/resources')
2 files changed, 26 insertions, 6 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> diff --git a/sandbox/lresende/sca/samples/organization-das/src/main/resources/organization.composite b/sandbox/lresende/sca/samples/organization-das/src/main/resources/organization.composite index e19441aa5d..0113ccf8a0 100644 --- a/sandbox/lresende/sca/samples/organization-das/src/main/resources/organization.composite +++ b/sandbox/lresende/sca/samples/organization-das/src/main/resources/organization.composite @@ -5,17 +5,17 @@ xmlns:soa="http://org.soa.services" name="Organization-Service-Composite"> - <component name="OrganizationServiceComponent"> - <implementation.spring location="Organization-spring-context.xml"/> - <service name="OrganizationService"/> - </component> - <service name="OrganizationService" promote="OrganizationServiceComponent/OrganizationService"> <binding.ws/> </service> + + <component name="OrganizationServiceComponent"> + <implementation.spring location="organization-spring-context.xml"/> + <service name="OrganizationService"/> + </component> <component name="OrganizationDataServiceComponent"> - <implementation.spring location="Organization-spring-context.xml"/> + <implementation.spring location="organization-spring-context.xml"/> </component> |