Class RulesEngineAutoConfiguration
java.lang.Object
com.broadleafcommerce.rulesengine.autoconfigure.RulesEngineAutoConfiguration
@Configuration
@EnableConfigurationProperties(RuleBuilderParserProperties.class)
public class RulesEngineAutoConfiguration
extends Object
Auto configuration entry point for the rules engine library
- Author:
- Nathan Moore (nathanmoore).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.springframework.expression.PropertyAccessor>
evaluationContextFactory
(List<org.springframework.expression.PropertyAccessor> defaultPropertyAccessors) Supplier<org.springframework.expression.spel.support.StandardEvaluationContext>
org.springframework.expression.spel.standard.SpelExpressionParser
org.springframework.expression.spel.SpelParserConfiguration
spelRuleEvaluationService
(List<org.springframework.expression.PropertyAccessor> defaultPropertyAccessors)
-
Field Details
-
parserProperties
-
-
Constructor Details
-
RulesEngineAutoConfiguration
-
-
Method Details
-
spelParserConfiguration
@Bean @ConditionalOnMissingBean public org.springframework.expression.spel.SpelParserConfiguration spelParserConfiguration() -
spelParser
@Bean @ConditionalOnMissingBean public org.springframework.expression.spel.standard.SpelExpressionParser spelParser() -
evaluationContextSupplier
@Bean @ConditionalOnMissingBean(name="evaluationContextSupplier") public Supplier<org.springframework.expression.spel.support.StandardEvaluationContext> evaluationContextSupplier() -
spelRuleEvaluationService
@Bean @ConditionalOnMissingBean public SpelRuleEvaluationService spelRuleEvaluationService(@Autowired(required=false) List<org.springframework.expression.PropertyAccessor> defaultPropertyAccessors) -
defaultPropertyAccessors
@Bean @ConditionalOnMissingBean(name="defaultPropertyAccessors") public List<org.springframework.expression.PropertyAccessor> defaultPropertyAccessors() -
defaultExpressionVariables
-
evaluationContextFactory
@Bean @ConditionalOnMissingBean public CachingStdEvaluationContextFactory evaluationContextFactory(@Autowired(required=false) List<org.springframework.expression.PropertyAccessor> defaultPropertyAccessors)
-