Class JBPMAutoConfiguration
- java.lang.Object
-
- org.jbpm.springboot.autoconfigure.JBPMAutoConfiguration
-
@Configuration @ConditionalOnClass(org.jbpm.kie.services.impl.KModuleDeploymentService.class) @EnableConfigurationProperties({JBPMProperties.class,org.springframework.boot.autoconfigure.jdbc.DataSourceProperties.class}) public class JBPMAutoConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringPERSISTENCE_UNIT_NAMEprotected static StringPERSISTENCE_XML_LOCATION
-
Constructor Summary
Constructors Constructor Description JBPMAutoConfiguration(org.springframework.transaction.PlatformTransactionManager transactionManager, JBPMProperties properties, org.springframework.context.ApplicationContext applicationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jbpm.casemgmt.api.AdvanceCaseRuntimeDataServiceadvanceCaseRuntimeDataService(javax.persistence.EntityManagerFactory entityManagerFactory, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService)org.jbpm.services.api.AdvanceRuntimeDataServiceadvanceRuntimeDataService(javax.persistence.EntityManagerFactory entityManagerFactory, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService)org.jbpm.casemgmt.api.generator.CaseIdGeneratorcaseIdGenerator(org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService)org.jbpm.casemgmt.api.admin.CaseInstanceMigrationServicecaseInstanceMigrationService(javax.persistence.EntityManagerFactory entityManagerFactory, org.jbpm.casemgmt.api.CaseRuntimeDataService caseRuntimeDataService, org.jbpm.services.api.ProcessService processService, org.jbpm.services.api.admin.ProcessInstanceMigrationService processInstanceMigrationService)org.jbpm.casemgmt.api.CaseRuntimeDataServicecaseRuntimeService(org.jbpm.casemgmt.api.generator.CaseIdGenerator caseIdGenerator, org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.DeploymentService deploymentService, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider)org.jbpm.casemgmt.api.CaseServicecaseService(org.jbpm.casemgmt.api.generator.CaseIdGenerator caseIdGenerator, org.jbpm.casemgmt.api.CaseRuntimeDataService caseRuntimeDataService, org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.ProcessService processService, org.jbpm.services.api.DeploymentService deploymentService, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider)org.jbpm.services.api.DefinitionServicedefinitionService()List<org.jbpm.services.task.deadlines.NotificationListener>deploymentBeans()org.jbpm.services.api.DeploymentServicedeploymentService(org.jbpm.services.api.DefinitionService definitionService, org.kie.api.runtime.manager.RuntimeManagerFactory runtimeManagerFactory, org.jbpm.kie.services.impl.FormManagerService formService, javax.persistence.EntityManagerFactory entityManagerFactory, org.kie.internal.identity.IdentityProvider identityProvider)org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBeanentityManagerFactory(DataSource dataSource, org.springframework.boot.autoconfigure.orm.jpa.JpaProperties jpaProperties)List<org.jbpm.persistence.api.integration.EventEmitter>eventEmitterBeans()org.kie.api.executor.ExecutorServiceexecutorService(javax.persistence.EntityManagerFactory entityManagerFactory, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.jbpm.services.api.DeploymentService deploymentService)protected ObjectextractFromOptional(Optional<?> optionalList)org.jbpm.kie.services.impl.FormManagerServiceformService()org.kie.internal.identity.IdentityProvideridentityProvider()org.drools.persistence.api.TransactionManagerkieTransactionManager()org.jbpm.services.api.admin.ProcessInstanceAdminServiceprocessInstanceAdminService(org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.ProcessService processService, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider)org.jbpm.services.api.admin.ProcessInstanceMigrationServiceprocessInstanceMigrationService()org.jbpm.services.api.ProcessServiceprocessService(org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.DeploymentService deploymentService)org.jbpm.services.api.query.QueryServicequeryService(DataSource dataSource, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider, org.jbpm.services.api.DeploymentService deploymentService, org.kie.api.task.UserGroupCallback userGroupCallback)org.jbpm.services.api.RuntimeDataServiceruntimeDataService(javax.persistence.EntityManagerFactory entityManagerFactory, org.kie.api.task.UserGroupCallback userGroupCallback, org.kie.internal.task.api.UserInfo userInfo, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider, org.jbpm.services.api.DeploymentService deploymentService)org.kie.api.runtime.manager.RuntimeManagerFactoryruntimeManagerFactory(org.kie.api.task.UserGroupCallback userGroupCallback, org.kie.internal.task.api.UserInfo userInfo)org.jbpm.shared.services.impl.TransactionalCommandServicetransactionalCommandService(javax.persistence.EntityManagerFactory entityManagerFactory, org.drools.persistence.api.TransactionManager kieTransactionManager)org.kie.api.task.UserGroupCallbackuserGroupCallback(org.kie.internal.identity.IdentityProvider identityProvider)org.kie.internal.task.api.UserInfouserInfo()org.jbpm.services.api.admin.UserTaskAdminServiceuserTaskAdminService(org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.UserTaskService userTaskService, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider)org.jbpm.services.api.UserTaskServiceuserTaskService(org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.DeploymentService deploymentService)
-
-
-
Field Detail
-
PERSISTENCE_UNIT_NAME
protected static final String PERSISTENCE_UNIT_NAME
- See Also:
- Constant Field Values
-
PERSISTENCE_XML_LOCATION
protected static final String PERSISTENCE_XML_LOCATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JBPMAutoConfiguration
public JBPMAutoConfiguration(org.springframework.transaction.PlatformTransactionManager transactionManager, JBPMProperties properties, org.springframework.context.ApplicationContext applicationContext)
-
-
Method Detail
-
entityManagerFactory
@Bean @Primary @ConditionalOnMissingBean(name="entityManagerFactory") public org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean entityManagerFactory(DataSource dataSource, org.springframework.boot.autoconfigure.orm.jpa.JpaProperties jpaProperties)
-
identityProvider
@Bean @ConditionalOnMissingBean(name="identityProvider") public org.kie.internal.identity.IdentityProvider identityProvider()
-
kieTransactionManager
@Bean @ConditionalOnMissingBean(name="kieTransactionManager") public org.drools.persistence.api.TransactionManager kieTransactionManager()
-
userGroupCallback
@Bean @ConditionalOnMissingBean(name="userGroupCallback") public org.kie.api.task.UserGroupCallback userGroupCallback(org.kie.internal.identity.IdentityProvider identityProvider)
-
userInfo
@Bean @ConditionalOnMissingBean(name="userInfo") public org.kie.internal.task.api.UserInfo userInfo() throws IOException- Throws:
IOException
-
definitionService
@Bean @ConditionalOnMissingBean(name="definitionService") public org.jbpm.services.api.DefinitionService definitionService()
-
formService
@Bean @ConditionalOnMissingBean(name="formService") public org.jbpm.kie.services.impl.FormManagerService formService()
-
runtimeManagerFactory
@Bean @ConditionalOnMissingBean(name="runtimeManagerFactory") public org.kie.api.runtime.manager.RuntimeManagerFactory runtimeManagerFactory(org.kie.api.task.UserGroupCallback userGroupCallback, org.kie.internal.task.api.UserInfo userInfo)
-
transactionalCommandService
@Bean @ConditionalOnMissingBean(name="transactionalCommandService") public org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService(javax.persistence.EntityManagerFactory entityManagerFactory, org.drools.persistence.api.TransactionManager kieTransactionManager)
-
deploymentService
@Bean(destroyMethod="shutdown") @ConditionalOnMissingBean(name="deploymentService") public org.jbpm.services.api.DeploymentService deploymentService(org.jbpm.services.api.DefinitionService definitionService, org.kie.api.runtime.manager.RuntimeManagerFactory runtimeManagerFactory, org.jbpm.kie.services.impl.FormManagerService formService, javax.persistence.EntityManagerFactory entityManagerFactory, org.kie.internal.identity.IdentityProvider identityProvider)
-
deploymentBeans
@Bean @ConditionalOnMissingBean(name="notificationListeners") public List<org.jbpm.services.task.deadlines.NotificationListener> deploymentBeans()
-
eventEmitterBeans
@Bean @ConditionalOnMissingBean(name="eventEmitters") public List<org.jbpm.persistence.api.integration.EventEmitter> eventEmitterBeans()
-
runtimeDataService
@Bean @ConditionalOnMissingBean(name="runtimeDataService") public org.jbpm.services.api.RuntimeDataService runtimeDataService(javax.persistence.EntityManagerFactory entityManagerFactory, org.kie.api.task.UserGroupCallback userGroupCallback, org.kie.internal.task.api.UserInfo userInfo, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider, org.jbpm.services.api.DeploymentService deploymentService)
-
advanceRuntimeDataService
@Bean @ConditionalOnMissingBean(name="advanceRuntimeDataService") public org.jbpm.services.api.AdvanceRuntimeDataService advanceRuntimeDataService(javax.persistence.EntityManagerFactory entityManagerFactory, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService)
-
advanceCaseRuntimeDataService
@Bean @ConditionalOnMissingBean(name="advanceCaseRuntimeDataService") public org.jbpm.casemgmt.api.AdvanceCaseRuntimeDataService advanceCaseRuntimeDataService(javax.persistence.EntityManagerFactory entityManagerFactory, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService)
-
processService
@Bean @ConditionalOnMissingBean(name="processService") public org.jbpm.services.api.ProcessService processService(org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.DeploymentService deploymentService)
-
userTaskService
@Bean @ConditionalOnMissingBean(name="userTaskService") public org.jbpm.services.api.UserTaskService userTaskService(org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.DeploymentService deploymentService)
-
queryService
@Bean @ConditionalOnMissingBean(name="queryService") public org.jbpm.services.api.query.QueryService queryService(DataSource dataSource, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider, org.jbpm.services.api.DeploymentService deploymentService, org.kie.api.task.UserGroupCallback userGroupCallback)
-
processInstanceMigrationService
@Bean @ConditionalOnMissingBean(name="processInstanceMigrationService") public org.jbpm.services.api.admin.ProcessInstanceMigrationService processInstanceMigrationService()
-
processInstanceAdminService
@Bean @ConditionalOnMissingBean(name="processInstanceAdminService") public org.jbpm.services.api.admin.ProcessInstanceAdminService processInstanceAdminService(org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.ProcessService processService, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider)
-
userTaskAdminService
@Bean @ConditionalOnMissingBean(name="userTaskAdminService") public org.jbpm.services.api.admin.UserTaskAdminService userTaskAdminService(org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.UserTaskService userTaskService, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider)
-
executorService
@Bean @ConditionalOnMissingBean(name="executorService") @ConditionalOnProperty(name="jbpm.executor.enabled") public org.kie.api.executor.ExecutorService executorService(javax.persistence.EntityManagerFactory entityManagerFactory, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.jbpm.services.api.DeploymentService deploymentService)
-
caseIdGenerator
@Bean @ConditionalOnMissingBean(name="caseIdGenerator") public org.jbpm.casemgmt.api.generator.CaseIdGenerator caseIdGenerator(org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService)
-
caseRuntimeService
@Bean @ConditionalOnClass(org.jbpm.casemgmt.impl.CaseRuntimeDataServiceImpl.class) @ConditionalOnMissingBean(name="caseRuntimeService") public org.jbpm.casemgmt.api.CaseRuntimeDataService caseRuntimeService(org.jbpm.casemgmt.api.generator.CaseIdGenerator caseIdGenerator, org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.DeploymentService deploymentService, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider)
-
caseService
@Bean @ConditionalOnClass(org.jbpm.casemgmt.impl.CaseServiceImpl.class) @ConditionalOnMissingBean(name="caseService") public org.jbpm.casemgmt.api.CaseService caseService(org.jbpm.casemgmt.api.generator.CaseIdGenerator caseIdGenerator, org.jbpm.casemgmt.api.CaseRuntimeDataService caseRuntimeDataService, org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.ProcessService processService, org.jbpm.services.api.DeploymentService deploymentService, org.jbpm.shared.services.impl.TransactionalCommandService transactionalCommandService, org.kie.internal.identity.IdentityProvider identityProvider)
-
caseInstanceMigrationService
@Bean @ConditionalOnClass(org.jbpm.casemgmt.impl.admin.CaseInstanceMigrationServiceImpl.class) @ConditionalOnMissingBean(name="caseInstanceMigrationService") public org.jbpm.casemgmt.api.admin.CaseInstanceMigrationService caseInstanceMigrationService(javax.persistence.EntityManagerFactory entityManagerFactory, org.jbpm.casemgmt.api.CaseRuntimeDataService caseRuntimeDataService, org.jbpm.services.api.ProcessService processService, org.jbpm.services.api.admin.ProcessInstanceMigrationService processInstanceMigrationService)
-
-