e.order-workflow.2.4.0.source-code.order-workflow-context.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of order-workflow Show documentation
Show all versions of order-workflow Show documentation
A sample bundle containing a workflow.
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c)2014 Prometheus Consulting Licensed 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:aop="http://www.springframework.org/schema/aop" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:int="http://www.springframework.org/schema/integration" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:util="http://www.springframework.org/schema/util" xmlns:context="http://www.springframework.org/schema/context" xmlns:int-stream="http://www.springframework.org/schema/integration/stream" xmlns:int-xml="http://www.springframework.org/schema/integration/xml" xmlns:int-ws="http://www.springframework.org/schema/integration/ws" xmlns:ws="http://www.springframework.org/schema/web-services" xmlns:task="http://www.springframework.org/schema/task" xmlns:oxm="http://www.springframework.org/schema/oxm" xsi:schemaLocation=" http://www.springframework.org/schema/integration/stream http://www.springframework.org/schema/integration/stream/spring-integration-stream.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd http://www.springframework.org/schema/integration/xml http://www.springframework.org/schema/integration/xml/spring-integration-xml.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/integration/ws http://www.springframework.org/schema/integration/ws/spring-integration-ws.xsd http://www.springframework.org/schema/web-services http://www.springframework.org/schema/web-services/web-services.xsd http://www.springframework.org/schema/oxm http://www.springframework.org/schema/oxm/spring-oxm.xsd http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd"> <description>Main Configuration</description> <import resource="classpath:/database-orderinstances-context.xml"/> <import resource="classpath:/SI-context.xml"/> <context:component-scan base-package="nz.co.senanque.validationengine,nz.co.senanque.rules,nz.co.senanque.vaadin,nz.co.senanque.workflow.conf,nz.co.senanque.workflow.order,nz.co.senanque.workflow.orderrules"/> <context:annotation-config /> <context:property-placeholder local-override="true" location="classpath:/config.properties" /> <bean id="VaadinLaunchForm" class="nz.co.senanque.workflow.VaadinLaunchForm" scope="prototype"> <property name="referenceName" value="orderName"/> </bean> <bean id="VaadinFirstForm" class="nz.co.senanque.workflow.VaadinFirstForm" scope="prototype"/> <!-- message sender(s) and compute(s) used by the processes This is the Spring Integration message sender. Other messages busses need a different class here. --> <bean id="orderMessageSender" class="nz.co.senanque.messaging.springintegration.MessageSenderImpl"> <property name="channel" ref="orderChannel" /> <property name="replyChannel" ref="orderReplyChannel" /> </bean> <!-- These are used by the demo process --> <bean id="VaadinLaunchDemo" class="nz.co.senanque.workflow.VaadinLaunchForm" scope="prototype"> <property name="referenceName" value="orderName"/> <property name="fieldList"> <list> <value>orderName</value> <value>fahrenheit</value> </list> </property> </bean> <bean id="VaadinDisplayFahrenheit" class="nz.co.senanque.workflow.VaadinLaunchForm" scope="prototype"> <property name="fieldList"> <list> <value>celsius</value> </list> </property> </bean> <bean id="temperatureCompute" class="nz.co.senanque.workflow.TemperatureComputeClass" /> <bean id="orderCompute" class="nz.co.senanque.workflow.OrderComputeClass" /> <bean id="messageSource" class="nz.co.senanque.resourceloader.ResourceBundleMessageSourceExt"> <property name="basenames"> <list> <value>localmessages</value> </list> </property> </bean> </beans>