<commit_before><?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

	<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration" depends-on="dbInitService">
		<property name="dataSource" ref="dataSource" />
		<!-- Database configurations -->
		<property name="databaseSchemaUpdate" value="true" />
		<!-- job executor configurations -->
		<property name="jobExecutorActivate" value="false" />
		<!-- mail server configurations -->
		<property name="mailServerPort" value="5025" />
		<property name="history" value="full" />

		<!-- 
		<property name="postBpmnParseHandlers">
			<list>
				<bean class="com.mossle.bpm.delegate.DelegateBPMNParserHandler"/>
			</list>
		</property>
 		-->
 		<property name="customDefaultBpmnParseHandlers">
    	 	<list>
    	 		<bean class="com.mossle.bpm.delegate.DelegateBPMNParserHandler"/>
    	 	</list>
    	 </property>
		<property name="transactionManager" ref="transactionManager"/>
		
		<!-- <property name="databaseType" value="${databaseType}"/>  enabled when use hsqldb-->
		
		<!-- 生成流程图的字体 -->
        <property name="activityFontName" value="宋体"/>
        <property name="labelFontName" value="宋体"/>

        <!-- 缓存支持
        <property name="processDefinitionCache">
            <bean class="me.kafeitu.demo.activiti.util.cache.DistributedCache" />
        </property>-->

        <!-- 自动部署 -->
        <property name="deploymentResources">
            <list>
                <value>classpath*:/bpmn2/*</value>
            </list>
        </property>

        <!-- 自定义表单字段类型 -->
        <property name="customFormTypes">
            <list>
                <bean class="com.mossle.bpm.support.UsersFormType"/>
            </list>
        </property>

        <!-- 全局监听器
        <property name="globalTaskListener" >
            <bean class="me.kafeitu.demo.activiti.activiti.listener.GlobalTaskListener" />
        </property> -->
	</bean>

	<bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean">
		<property name="processEngineConfiguration" ref="processEngineConfiguration"/>
	</bean>
    <bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService"/>
    <bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService"/>
    <bean id="formService" factory-bean="processEngine" factory-method="getFormService"/>
    <bean id="identityService" factory-bean="processEngine" factory-method="getIdentityService"/>
    <bean id="taskService" factory-bean="processEngine" factory-method="getTaskService"/>
    <bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService"/>
    <bean id="managementService" factory-bean="processEngine" factory-method="getManagementService"/>
	<bean id="commandExecutor" factory-bean="processEngineConfiguration" factory-method="getCommandExecutorTxRequired"/>
</beans>
<commit_msg>ignore act databaseSchemaUpdate<commit_after><?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

	<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration" depends-on="dbInitService">
		<property name="dataSource" ref="dataSource" />
		<!-- Database configurations -->
		<property name="databaseSchemaUpdate" value="false" />
		<!-- job executor configurations -->
		<property name="jobExecutorActivate" value="false" />
		<!-- mail server configurations -->
		<property name="mailServerPort" value="5025" />
		<property name="history" value="full" />

		<!-- 
		<property name="postBpmnParseHandlers">
			<list>
				<bean class="com.mossle.bpm.delegate.DelegateBPMNParserHandler"/>
			</list>
		</property>
 		-->
 		<property name="customDefaultBpmnParseHandlers">
    	 	<list>
    	 		<bean class="com.mossle.bpm.delegate.DelegateBPMNParserHandler"/>
    	 	</list>
    	 </property>
		<property name="transactionManager" ref="transactionManager"/>
		
		<!-- <property name="databaseType" value="${databaseType}"/>  enabled when use hsqldb-->
		
		<!-- 生成流程图的字体 -->
        <property name="activityFontName" value="宋体"/>
        <property name="labelFontName" value="宋体"/>

        <!-- 缓存支持
        <property name="processDefinitionCache">
            <bean class="me.kafeitu.demo.activiti.util.cache.DistributedCache" />
        </property>-->

        <!-- 自动部署 -->
        <property name="deploymentResources">
            <list>
                <value>classpath*:/bpmn2/*</value>
            </list>
        </property>

        <!-- 自定义表单字段类型 -->
        <property name="customFormTypes">
            <list>
                <bean class="com.mossle.bpm.support.UsersFormType"/>
            </list>
        </property>

        <!-- 全局监听器
        <property name="globalTaskListener" >
            <bean class="me.kafeitu.demo.activiti.activiti.listener.GlobalTaskListener" />
        </property> -->
	</bean>

	<bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean">
		<property name="processEngineConfiguration" ref="processEngineConfiguration"/>
	</bean>
    <bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService"/>
    <bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService"/>
    <bean id="formService" factory-bean="processEngine" factory-method="getFormService"/>
    <bean id="identityService" factory-bean="processEngine" factory-method="getIdentityService"/>
    <bean id="taskService" factory-bean="processEngine" factory-method="getTaskService"/>
    <bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService"/>
    <bean id="managementService" factory-bean="processEngine" factory-method="getManagementService"/>
	<bean id="commandExecutor" factory-bean="processEngineConfiguration" factory-method="getCommandExecutorTxRequired"/>
</beans>

{'fraction_non_alphanumeric': 0.15577967416602018, 'fraction_numerical': 0.004034134988363072, 'mean_word_length': 3.4180945853324194, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 2, '>': 127, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, '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': '6984606', 'n_tokens_mistral': 1985, 'n_tokens_neox': 1829, 'n_words': 270}