提交 42961108 编写于 作者: T Tijs Rademakers

yepz....

上级 c337ad85
......@@ -536,6 +536,21 @@
<groupId>org.flowable</groupId>
<artifactId>flowable-http</artifactId>
</dependency>
<!-- LOGGING -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
......
......@@ -8,6 +8,7 @@ import org.flowable.content.api.ContentService;
import org.flowable.content.spring.SpringContentEngineConfiguration;
import org.flowable.content.spring.configurator.SpringContentEngineConfigurator;
import org.flowable.dmn.api.DmnEngineConfigurationApi;
import org.flowable.dmn.api.DmnHistoryService;
import org.flowable.dmn.api.DmnRepositoryService;
import org.flowable.dmn.api.DmnRuleService;
import org.flowable.dmn.spring.SpringDmnEngineConfiguration;
......@@ -147,6 +148,8 @@ public class FlowableEngineConfiguration {
SpringContentEngineConfigurator springContentEngineConfigurator = new SpringContentEngineConfigurator();
springContentEngineConfigurator.setContentEngineConfiguration(contentEngineConfiguration);
processEngineConfiguration.addConfigurator(springContentEngineConfigurator);
return processEngineConfiguration;
}
......@@ -205,6 +208,11 @@ public class FlowableEngineConfiguration {
public DmnRuleService dmnRuleService() {
return dmnEngineConfiguration().getDmnRuleService();
}
@Bean
public DmnHistoryService dmnHistoryService() {
return dmnEngineConfiguration().getDmnHistoryService();
}
@Bean
public ContentService contentService() {
......
......@@ -19,5 +19,7 @@ public interface DmnEngineConfigurationApi {
DmnRuleService getDmnRuleService();
DmnManagementService getDmnManagementService();
DmnHistoryService getDmnHistoryService();
}
......@@ -22,6 +22,7 @@ import org.flowable.content.api.ContentService;
import org.flowable.content.spring.SpringContentEngineConfiguration;
import org.flowable.content.spring.configurator.SpringContentEngineConfigurator;
import org.flowable.dmn.api.DmnEngineConfigurationApi;
import org.flowable.dmn.api.DmnHistoryService;
import org.flowable.dmn.api.DmnRepositoryService;
import org.flowable.dmn.api.DmnRuleService;
import org.flowable.dmn.spring.SpringDmnEngineConfiguration;
......@@ -260,6 +261,11 @@ public class FlowableEngineConfiguration {
public DmnRuleService dmnRuleService() {
return dmnEngineConfiguration().getDmnRuleService();
}
@Bean
public DmnHistoryService dmnHistoryService() {
return dmnEngineConfiguration().getDmnHistoryService();
}
@Bean
public ContentService contentService() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册