All Downloads are FREE. Search and download functionalities are using the official Maven repository.

e.nmc-workflow.2.4.0.source-code.nmc-workflow-context.xml Maven / Gradle / Ivy

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:security="http://www.springframework.org/schema/security" 
    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/security http://www.springframework.org/schema/security/spring-security.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-nmcinstances-context.xml"/>

    <context:annotation-config />
	<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.nmc,nz.co.senanque.workflow.nmcrules" />
	<context:property-placeholder local-override="true" location="classpath:/config.properties" />

	<!-- These are used by the demo process -->
    <bean id="VaadinLaunchForm" class="nz.co.senanque.workflow.VaadinLaunchForm" scope="prototype">
    	<property name="caption" value="Launch" />
    	<property name="referenceName" value="claimId"/>
    	<property name="fieldList">
    		<list>
    			<value>claimId</value>
    			<value>memberId</value>
    			<value>memberType</value>
    			<value>requestedAmount</value>
    			<value>notes</value>
    			<value>reservationId</value>
    			<value>status</value>
    			<value>hasFunds</value>
    			<value>loop</value>
    			<value>rejected</value>
    			<value>sameClaim</value>
    			<value>sameAmount</value>
    		</list>
    	</property>
    </bean>
    <bean id="VaadinReviewClaim" class="nz.co.senanque.workflow.VaadinLaunchForm" scope="prototype">
    	<property name="caption" value="Review Claim" />
    	<property name="fieldList">
    		<list>
    			<value>claimId</value>
    			<value>memberId</value>
    			<value>memberType</value>
    			<value>requestedAmount</value>
    			<value>notes</value>
    			<value>status</value>
    			<value>sameClaim</value>
    			<value>sameAmount</value>
    			<value>hasFunds</value>
    			<value>loop</value>
    			<value>rejected</value>
    		</list>
    	</property>
    </bean>
    <bean id="VaadinContactMember" class="nz.co.senanque.workflow.VaadinLaunchForm" scope="prototype">
    	<property name="caption" value="Contact Member" />
    	<property name="fieldList">
    		<list>
    			<value>claimId</value>
    			<value>memberId</value>
    			<value>memberType</value>
    			<value>requestedAmount</value>
    			<value>notes</value>
    			<value>status</value>
    			<value>sameClaim</value>
    			<value>sameAmount</value>
    		</list>
    	</property>
    </bean>
    <bean id="VaadinReturnOriginals" class="nz.co.senanque.workflow.VaadinLaunchForm" scope="prototype">
    	<property name="caption" value="Return Originals" />
     	<property name="readOnlyForm" value="true"/>
    	<property name="fieldList">
    		<list>
    			<value>claimId</value>
    			<value>memberId</value>
    			<value>memberType</value>
    			<value>requestedAmount</value>
    			<value>rejectReason</value>
    			<value>notes</value>
    			<value>status</value>
    		</list>
    	</property>
    </bean>

    <bean id="messageSource" class="nz.co.senanque.resourceloader.ResourceBundleMessageSourceExt">
        <property name="basenames">
            <list>
                <value>localmessages</value>
            </list>
        </property>
    </bean>
    <!-- End Madura configuration -->

</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy