<commit_before><beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
	http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
	http://www.springframework.org/schema/context
	http://www.springframework.org/schema/context/spring-context-3.0.xsd">

	<context:annotation-config />


	<bean id="motriceConfig"
		class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="ignoreResourceNotFound" value="true" />
		<property name="locations">
			<list>
				<!--  at first look at default config file, if it exist -->
				<value>file:/usr/local/etc/motrice/motrice.properties</value>
				<!--  override with properties in MOTRICE_CONF, if it exist -->
				<value>file:${MOTRICE_CONF}</value>
				<!--  override with properties in MOTRICE_HOME/conf/motrice.properties, if it exist  -->
				<value>file:${MOTRICE_HOME}/conf/motrice.properties</value>
			</list>
		</property>
	</bean>
	
	<bean id="motriceOrbeonFormHandler" class="org.inheritsource.service.form.OrbeonTaskFormHandler"/>
	
	<bean id="formEngine" class="org.inheritsource.service.form.FormEngine">
		<property name="formTypeId2Handler">
	        <map>
	            <entry key="1" value-ref="motriceOrbeonFormHandler" />
	            
	        </map>
	    </property>
	    <property name="taskFormDb" ref="taskFormDb" />
		<property name="identityService" ref="identityService" />
	    <property name="activitiEngineService" ref="activitiEngineService" />
	</bean>

	<bean id="identityService" class="org.inheritsource.service.identity.IdentityServiceMalmoImpl">
		<property name="taskFormDb" ref="taskFormDb" />
	</bean>

	
	<bean id="taskFormDb" class="org.inheritsource.taskform.engine.persistence.TaskFormDb" scope="singleton">
	</bean>

	<bean id="engine" class="org.inheritsource.taskform.engine.TaskFormService"
		scope="singleton">
		<property name="activitiEngineService" ref="activitiEngineService" />
	</bean>
	
	<bean id="coordinatriceDao" class="org.inheritsource.service.coordinatrice.CoordinatriceDao" scope="singleton">
		<property name="engine" ref="processEngine"/>
	</bean>

	<bean id="activitiEngineService"
		class="org.inheritsource.service.processengine.ActivitiEngineService"
		scope="singleton"><commit_msg>added noform support<commit_after><beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
	http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
	http://www.springframework.org/schema/context
	http://www.springframework.org/schema/context/spring-context-3.0.xsd">

	<context:annotation-config />


	<bean id="motriceConfig"
		class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="ignoreResourceNotFound" value="true" />
		<property name="locations">
			<list>
				<!--  at first look at default config file, if it exist -->
				<value>file:/usr/local/etc/motrice/motrice.properties</value>
				<!--  override with properties in MOTRICE_CONF, if it exist -->
				<value>file:${MOTRICE_CONF}</value>
				<!--  override with properties in MOTRICE_HOME/conf/motrice.properties, if it exist  -->
				<value>file:${MOTRICE_HOME}/conf/motrice.properties</value>
			</list>
		</property>
	</bean>
	
	<bean id="motriceOrbeonFormHandler" class="org.inheritsource.service.form.OrbeonTaskFormHandler"/>
	<bean id="motriceNoFormHandler" class="org.inheritsource.service.form.NoTaskFormHandler"/>
	
	<bean id="formEngine" class="org.inheritsource.service.form.FormEngine">
		<property name="formTypeId2Handler">
	        <map>
	            <entry key="1" value-ref="motriceOrbeonFormHandler" />
	            <entry key="6" value-ref="motriceNoFormHandler" />	            
	        </map>
	    </property>
	    <property name="taskFormDb" ref="taskFormDb" />
		<property name="identityService" ref="identityService" />
	    <property name="activitiEngineService" ref="activitiEngineService" />
	</bean>

	<bean id="identityService" class="org.inheritsource.service.identity.IdentityServiceMalmoImpl">
		<property name="taskFormDb" ref="taskFormDb" />
	</bean>

	
	<bean id="taskFormDb" class="org.inheritsource.taskform.engine.persistence.TaskFormDb" scope="singleton">
	</bean>

	<bean id="engine" class="org.inheritsource.taskform.engine.TaskFormService"
		scope="singleton">
		<property name="activitiEngineService" ref="activitiEngineService" />
	</bean>
	
	<bean id="coordinatriceDao" class="org.inheritsource.service.coordinatrice.CoordinatriceDao" scope="singleton">
		<property name="engine" ref="processEngine"/>
	</bean>

	<bean id="activitiEngineService"
		class="org.inheritsource.service.processengine.ActivitiEngineService"
		scope="singleton">
{'fraction_non_alphanumeric': 0.15361566120655215, 'fraction_numerical': 0.004594486616060727, 'mean_word_length': 4.904481132075472, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 14, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2566306', 'n_tokens_mistral': 1671, 'n_tokens_neox': 1556, 'n_words': 219}