Package org.flowable.spring.boot
Class AbstractEngineAutoConfiguration
- java.lang.Object
-
- org.flowable.spring.boot.AbstractEngineAutoConfiguration
-
- Direct Known Subclasses:
AbstractSpringEngineAutoConfiguration,ContentEngineAutoConfiguration,IdmEngineAutoConfiguration
public abstract class AbstractEngineAutoConfiguration extends Object
Base auto configuration for the different engines.- Author:
- Filip Hrisafov, Javier Casal
-
-
Field Summary
Fields Modifier and Type Field Description protected FlowablePropertiesflowablePropertiesprotected org.slf4j.Loggerloggerprotected org.springframework.core.io.support.ResourcePatternResolverresourcePatternResolver
-
Constructor Summary
Constructors Constructor Description AbstractEngineAutoConfiguration(FlowableProperties flowableProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureEngine(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration, DataSource dataSource)protected <T> TdefaultIfNotNull(T value, T defaultValue)protected StringdefaultText(String deploymentName, String defaultName)List<org.springframework.core.io.Resource>discoverDeploymentResources(String prefix, List<String> suffixes, boolean loadResources)protected Set<Class<?>>getCustomMybatisMapperClasses(List<String> customMyBatisMappers)voidsetResourcePatternResolver(org.springframework.core.io.support.ResourcePatternResolver resourcePatternResolver)
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
flowableProperties
protected final FlowableProperties flowableProperties
-
resourcePatternResolver
protected org.springframework.core.io.support.ResourcePatternResolver resourcePatternResolver
-
-
Constructor Detail
-
AbstractEngineAutoConfiguration
public AbstractEngineAutoConfiguration(FlowableProperties flowableProperties)
-
-
Method Detail
-
setResourcePatternResolver
@Autowired public void setResourcePatternResolver(org.springframework.core.io.support.ResourcePatternResolver resourcePatternResolver)
-
configureEngine
protected void configureEngine(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration, DataSource dataSource)
-
discoverDeploymentResources
public List<org.springframework.core.io.Resource> discoverDeploymentResources(String prefix, List<String> suffixes, boolean loadResources) throws IOException
- Throws:
IOException
-
getCustomMybatisMapperClasses
protected Set<Class<?>> getCustomMybatisMapperClasses(List<String> customMyBatisMappers)
-
defaultIfNotNull
protected <T> T defaultIfNotNull(T value, T defaultValue)
-
-