public class DefaultPlatformRuleEngineService extends java.lang.Object implements RuleEngineService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MODULE_MVN_VERSION_NONE |
static java.lang.String |
SWAPPING_IS_BLOCKING |
| Constructor and Description |
|---|
DefaultPlatformRuleEngineService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addKieBaseModel(KieModuleModel module,
KieFileSystem kfs,
DroolsKIEBaseModel base)
Deprecated.
since 6.3. Will be substituted by
RuleEngineKieModuleSwapper interface call |
protected void |
addKieSessionModel(KieBaseModel base,
DroolsKIESessionModel session)
Deprecated.
since 6.3. to be substituted with
RuleEngineKieModuleSwapper interface call |
protected void |
addRules(KieBaseModel kieBaseModel,
KieFileSystem kfs,
DroolsKIEBaseModel base)
Deprecated.
since 6.3. to be substituted with
RuleEngineKieModuleSwapper interface method call |
RuleEngineActionResult |
archiveRule(AbstractRuleEngineRuleModel ruleEngineRule)
Archives the given rule if it already exists.
|
RuleEngineActionResult |
archiveRule(AbstractRuleEngineRuleModel ruleEngineRule,
AbstractRulesModuleModel rulesModule)
Archives the given rule if it already exists.
|
<T extends DroolsRuleModel> |
archiveRules(java.util.Collection<T> engineRules)
Archive a collection of rules
|
protected MessageLevel |
convertLevel(Level level)
Deprecated.
since 6.3
|
protected KieModule |
createKieModule(DroolsKIEModuleModel module,
RuleEngineActionResult result)
Deprecated.
since 6.3. Substituted by
RuleEngineKieModuleSwapper interface methods |
protected RuleEngineActionResult |
createRuleEngineActionResult(java.lang.String message,
java.lang.String moduleName,
boolean success,
MessageLevel level)
creates a RuleEngineActionResult object with the given parameters.
|
protected RuleExecutionCountListener |
createRuleExecutionCounterListener()
Deprecated.
since 6.3
|
<T extends AbstractRuleEngineRuleModel> |
deactivateRulesModuleEngineRules(java.lang.String moduleName,
java.util.Collection<T> engineRules)
make the specified collection of engine rules belonging to a specified module inactive, so that the engine wouln't take them
in consideration during init
|
protected void |
doSwapKieContainers(KieContainer kieContainer,
KIEModuleCacheBuilder cache,
RuleEngineActionResult ruleEngineActionResult,
DroolsKIEModuleModel module,
java.lang.String deployedReleaseIdVersion,
boolean propagateToOtherNodes) |
RuleEvaluationResult |
evaluate(RuleEvaluationContext context)
Since 6.0
Executes rule evaluation for given RuleEvaluationContext.
|
protected ConcurrentMapFactory |
getConcurrentMapFactory() |
protected ConfigurationService |
getConfigurationService() |
protected DroolsKIEBaseFinderStrategy |
getDroolsKIEBaseFinderStrategy() |
protected EngineRuleDao |
getEngineRuleDao() |
protected RuleEngineTaskProcessor<AbstractRuleEngineRuleModel,TaskResult> |
getEngineRulesPersistingTaskProcessor() |
protected EngineRulesRepository |
getEngineRulesRepository() |
protected EqualityBehaviorOption |
getEqualityBehaviorOption(DroolsEqualityBehavior behavior)
Deprecated.
since 6.3
|
protected EventProcessingOption |
getEventProcessingOption(DroolsEventProcessingMode eventProcessingMode)
Deprecated.
since 6.3
|
protected EventService |
getEventService() |
protected MultiFlag |
getInitializationMultiFlag() |
protected KieServices |
getKieServices()
Deprecated.
since 6.4. Use
RuleEngineBootstrap.getEngineServices() instead |
protected ModelService |
getModelService() |
protected PostRulesModuleSwappingTasksProvider |
getPostRulesModuleSwappingTasksProvider() |
protected ReleaseId |
getReleaseId(DroolsKIEModuleModel module)
Deprecated.
since 6.3. Will be substituted by
RuleEngineKieModuleSwapper interface call |
protected RuleEngineBootstrap<KieServices,KieContainer,DroolsKIEModuleModel> |
getRuleEngineBootstrap() |
protected RuleEngineCacheService |
getRuleEngineCacheService() |
protected RuleEngineContainerRegistry<ReleaseId,KieContainer> |
getRuleEngineContainerRegistry() |
protected RuleEngineKieModuleSwapper |
getRuleEngineKieModuleSwapper() |
AbstractRuleEngineRuleModel |
getRuleForCode(java.lang.String code)
Deprecated.
since 6.3
|
AbstractRuleEngineRuleModel |
getRuleForCodeAndModule(java.lang.String code,
java.lang.String moduleName)
Finds AbstractRuleEngineRuleModel for given code and module.
|
AbstractRuleEngineRuleModel |
getRuleForUuid(java.lang.String uuid) |
protected RuleModuleFinderStrategy |
getRuleModuleFinderStrategy()
Deprecated.
since 6.4
|
AbstractRulesModuleModel |
getRuleModuleForRule(AbstractRuleEngineRuleModel rule)
Deprecated.
since 6.3
|
protected RulesModuleDao |
getRulesModuleDao() |
protected KieSessionType |
getSessionType(DroolsSessionType sessionType)
Deprecated.
since 6.3
|
protected StatelessKieSessionHelper |
getStatelessKieSessionHelper() |
RuleEngineActionResult |
initialize(AbstractRulesModuleModel module)
Deprecated.
since 6.3. Consider using
initialize(List, boolean, boolean) instead |
RuleEngineActionResult |
initialize(AbstractRulesModuleModel abstractModule,
boolean propagateToOtherNodes)
Deprecated.
since 6.3. Please use
initialize(AbstractRulesModuleModel, String, boolean, boolean, RuleEngineActionResult) initialize}
method instead |
RuleEngineActionResult |
initialize(AbstractRulesModuleModel abstractModule,
java.lang.String deployedMvnVersion,
boolean propagateToOtherNodes)
Deprecated.
since 6.4
|
void |
initialize(AbstractRulesModuleModel abstractModule,
java.lang.String deployedMvnVersion,
boolean propagateToOtherNodes,
boolean enableIncrementalUpdate,
RuleEngineActionResult result)
Since 6.4
Initializes the given rules module (and if
propagateToOtherNodes is set to true propagates a
RuleEngineInitializedEvent to other nodes). |
InitializationFuture |
initialize(java.util.List<AbstractRulesModuleModel> modules,
boolean propagateToOtherNodes,
boolean enableIncrementalUpdate)
Since 6.4
Initializes the given rules module in blocking/async mode (depending on blocking param) (and if
propagateToOtherNodes is set to true propagates a
RuleEngineInitializedEvent to other nodes). |
java.util.List<RuleEngineActionResult> |
initializeAllRulesModules()
Initializes all
AbstractRulesModuleModels that are marked as active (in case of cluster mode - on all the
nodes). |
java.util.List<RuleEngineActionResult> |
initializeAllRulesModules(boolean propagateToOtherNodes)
Initializes all
AbstractRulesModuleModels that are marked as active. |
void |
initializeNonBlocking(AbstractRulesModuleModel abstractModule,
java.lang.String deployedMvnVersion,
boolean propagateToOtherNodes,
boolean enableIncrementalUpdate,
RuleEngineActionResult result)
Since 6.4
Asynchronously initializes the given rules module (and if
propagateToOtherNodes is set to true propagates a
RuleEngineInitializedEvent to other nodes). |
protected boolean |
isBlocking() |
protected boolean |
isRuleEngineActive() |
protected boolean |
isSessionStateless(DroolsRuleEngineContextModel ruleEngineContext)
Deprecated.
since 6.4. Use
DefaultStatelessSessionHelper.isSessionStateless instead |
protected void |
notifyOtherNodes(RuleEngineActionResult result) |
protected void |
notifyOtherNodesAboutKieModuleSwapping(java.lang.String moduleName,
java.lang.String deployedReleaseIdVersion) |
protected void |
populateRuleEngineActionResult(RuleEngineActionResult result,
java.lang.String message,
java.lang.String moduleName,
boolean success,
MessageLevel level)
populates a RuleEngineActionResult object with the given parameters.
|
void |
setConcurrentMapFactory(ConcurrentMapFactory concurrentMapFactory) |
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setDroolsKIEBaseFinderStrategy(DroolsKIEBaseFinderStrategy droolsKIEBaseFinderStrategy) |
void |
setEngineRuleDao(EngineRuleDao engineRuleDao) |
void |
setEngineRulesPersistingTaskProcessor(RuleEngineTaskProcessor<AbstractRuleEngineRuleModel,TaskResult> engineRulesPersistingTaskProcessor) |
void |
setEngineRulesRepository(EngineRulesRepository engineRulesRepository) |
void |
setEventService(EventService eventService) |
protected void |
setKieServices(KieServices kieServices)
Deprecated.
since 6.4
|
void |
setModelService(ModelService modelService) |
void |
setPostRulesModuleSwappingTasksProvider(PostRulesModuleSwappingTasksProvider postRulesModuleSwappingTasksProvider) |
void |
setRuleEngineBootstrap(RuleEngineBootstrap<KieServices,KieContainer,DroolsKIEModuleModel> ruleEngineBootstrap) |
void |
setRuleEngineCacheService(RuleEngineCacheService ruleEngineCacheService) |
void |
setRuleEngineContainerRegistry(RuleEngineContainerRegistry<ReleaseId,KieContainer> ruleEngineContainerRegistry) |
void |
setRuleEngineKieModuleSwapper(RuleEngineKieModuleSwapper ruleEngineKieModuleSwapper) |
void |
setRuleModuleFinderStrategy(RuleModuleFinderStrategy ruleModuleFinderStrategy)
Deprecated.
since 6.4
|
void |
setRulesModuleDao(RulesModuleDao rulesModuleDao) |
void |
setStatelessKieSessionHelper(DefaultStatelessKieSessionHelper statelessKieSessionHelper) |
void |
setup()
The method is used to set the date format and KIEServices before the class is put into service(dependency
injection).
|
void |
setUpKieServices()
Deprecated.
since 6.3. Substituted by analogous method in
RuleEngineKieModuleSwapper |
protected void |
switchKieModule(DroolsKIEModuleModel module,
KieContainerListener listener,
boolean propagateToOtherNodes,
boolean enableIncrementalUpdate,
RuleEngineActionResult result,
java.util.Collection<java.util.function.Supplier<java.lang.Object>> chainOfPostTasks)
Switches the Kie modules in the rule execution context
|
protected void |
switchKieModule(DroolsKIEModuleModel module,
RuleEngineActionResult result,
KieContainerListener listener,
boolean propagateToOtherNodes,
java.util.function.Supplier<java.lang.Object>... chainOfPostTasks)
Deprecated.
since 6.4
|
protected ExecutionResults |
tryExecution(StatelessKieSession session,
BatchExecutionCommand command,
int currentAttempt)
Deprecated.
since 6.4.
|
RuleEngineActionResult |
updateEngineRule(AbstractRuleEngineRuleModel ruleEngineRule)
Deprecated.
since 6.4.
|
RuleEngineActionResult |
updateEngineRule(AbstractRuleEngineRuleModel ruleEngineRule,
AbstractRulesModuleModel rulesModule)
Updates the given rule if it already exists.
|
protected java.util.Optional<RuleEngineActionResult> |
validateEngineRule(AbstractRuleEngineRuleModel engineRule)
Deprecated.
since 6.4. Use preconditions checks instead
|
protected java.util.Optional<RuleEngineActionResult> |
validateEngineRulesModule(AbstractRulesModuleModel rulesModule) |
protected void |
writeKModuleXML(KieModuleModel module,
KieFileSystem kfs)
Deprecated.
since 6.3 Will be substituted by
RuleEngineKieModuleSwapper interface call |
protected void |
writePomXML(DroolsKIEModuleModel module,
KieFileSystem kfs)
Deprecated.
since 6.3. Will be substituted by
RuleEngineKieModuleSwapper interface call |
public static final java.lang.String MODULE_MVN_VERSION_NONE
public static final java.lang.String SWAPPING_IS_BLOCKING
public RuleEvaluationResult evaluate(RuleEvaluationContext context)
RuleEngineServiceevaluate in interface RuleEngineServicecontext - the rule engine context containing data about rule engine execution@Deprecated
protected ExecutionResults tryExecution(StatelessKieSession session,
BatchExecutionCommand command,
int currentAttempt)
@Deprecated protected boolean isSessionStateless(DroolsRuleEngineContextModel ruleEngineContext)
DefaultStatelessSessionHelper.isSessionStateless insteadruleEngineContext - public InitializationFuture initialize(java.util.List<AbstractRulesModuleModel> modules, boolean propagateToOtherNodes, boolean enableIncrementalUpdate)
RuleEngineServicepropagateToOtherNodes is set to true propagates a
RuleEngineInitializedEvent to other nodes).initialize in interface RuleEngineServicemodules - the modules to be initializedpropagateToOtherNodes - if true propagates a RuleEngineInitializedEvent to other nodes.enableIncrementalUpdate - flag, if true, enables for incremental updates of the rule engine kie moduleInitializationFuture to be used for eventual blocking on multiple parallel swapping@Deprecated public RuleEngineActionResult initialize(AbstractRulesModuleModel abstractModule, boolean propagateToOtherNodes)
initialize(AbstractRulesModuleModel, String, boolean, boolean, RuleEngineActionResult) initialize}
method insteadRuleEngineServicepropagateToOtherNodes is set to true propagates a
RuleEngineInitializedEvent to other nodes).initialize in interface RuleEngineServiceabstractModule - the module to be initializedpropagateToOtherNodes - if true propagates a RuleEngineInitializedEvent to other nodes.RuleEngineActionResult.isActionFailed() to check if the
action succeeded)public void initializeNonBlocking(AbstractRulesModuleModel abstractModule, java.lang.String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result)
RuleEngineServicepropagateToOtherNodes is set to true propagates a
RuleEngineInitializedEvent to other nodes).initializeNonBlocking in interface RuleEngineServiceabstractModule - the module to be initializeddeployedMvnVersion - currently deployed version of the Kie ModulepropagateToOtherNodes - if true propagates a RuleEngineInitializedEvent to other nodes.enableIncrementalUpdate - flag, if true, enables for incremental updates of the rule engine kie moduleresult - the instance of RuleEngineActionResult accumulating the results of initializationpublic void initialize(AbstractRulesModuleModel abstractModule, java.lang.String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result)
RuleEngineServicepropagateToOtherNodes is set to true propagates a
RuleEngineInitializedEvent to other nodes).initialize in interface RuleEngineServiceabstractModule - the module to be initializeddeployedMvnVersion - currently deployed mvn version of the rule engine modulepropagateToOtherNodes - if true propagates a RuleEngineInitializedEvent to other nodes.enableIncrementalUpdate - flag, if true, enables for incremental updates of the rule engine kie moduleresult - the instance of RuleEngineActionResult accumulating the results of initializationpublic <T extends AbstractRuleEngineRuleModel> void deactivateRulesModuleEngineRules(java.lang.String moduleName, java.util.Collection<T> engineRules)
RuleEngineServicedeactivateRulesModuleEngineRules in interface RuleEngineServiceT - a type of engine rulesmoduleName - Name of the module the rules should refer to when applying changesengineRules - A collection of AbstractRuleEngineRuleModel to be deactivatedprotected void doSwapKieContainers(KieContainer kieContainer,
KIEModuleCacheBuilder cache,
RuleEngineActionResult ruleEngineActionResult,
DroolsKIEModuleModel module,
java.lang.String deployedReleaseIdVersion,
boolean propagateToOtherNodes)
@Deprecated public RuleEngineActionResult initialize(AbstractRulesModuleModel abstractModule, java.lang.String deployedMvnVersion, boolean propagateToOtherNodes)
RuleEngineServicepropagateToOtherNodes is set to true propagates a
RuleEngineInitializedEvent to other nodes).initialize in interface RuleEngineServiceabstractModule - the module to be initializeddeployedMvnVersion - currently deployed mvn version of the rule engine modulepropagateToOtherNodes - if true propagates a RuleEngineInitializedEvent to other nodes.RuleEngineActionResult.isActionFailed() to check if the
action succeeded)protected boolean isBlocking()
@Deprecated protected void switchKieModule(DroolsKIEModuleModel module, RuleEngineActionResult result, KieContainerListener listener, boolean propagateToOtherNodes, java.util.function.Supplier<java.lang.Object>... chainOfPostTasks)
protected void switchKieModule(DroolsKIEModuleModel module, KieContainerListener listener, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result, java.util.Collection<java.util.function.Supplier<java.lang.Object>> chainOfPostTasks)
module - instance of the DroolsKIEModuleModel modulelistener - instance of KieContainerListener that implements the switching logicpropagateToOtherNodes - flag, if true, enables the module swap/initialization event be propagated in the clusterenableIncrementalUpdate - flag, if true, enables for incremental updates of the rule engine kie moduleresult - instance of RuleEngineActionResult to be used for cluster nodes notificationchainOfPostTasks - chain of suppliers to be used as a sequence of post-swapping tasks@Deprecated protected KieModule createKieModule(DroolsKIEModuleModel module, RuleEngineActionResult result)
RuleEngineKieModuleSwapper interface methodsprotected void notifyOtherNodes(RuleEngineActionResult result)
protected void notifyOtherNodesAboutKieModuleSwapping(java.lang.String moduleName,
java.lang.String deployedReleaseIdVersion)
protected boolean isRuleEngineActive()
@Deprecated public RuleEngineActionResult initialize(AbstractRulesModuleModel module)
initialize(List, boolean, boolean) insteadRuleEngineServiceRuleEngineInitializedEvent to other nodes.initialize in interface RuleEngineServicemodule - the module to be initializedRuleEngineActionResult.isActionFailed() to check if the
action succeeded)public java.util.List<RuleEngineActionResult> initializeAllRulesModules(boolean propagateToOtherNodes)
RuleEngineServiceAbstractRulesModuleModels that are marked as active.initializeAllRulesModules in interface RuleEngineServicepropagateToOtherNodes - if true on all the nodes of clusterpublic java.util.List<RuleEngineActionResult> initializeAllRulesModules()
RuleEngineServiceAbstractRulesModuleModels that are marked as active (in case of cluster mode - on all the
nodes).initializeAllRulesModules in interface RuleEngineServiceRuleEngineActionResult.isActionFailed() to check if the
action succeeded)@Deprecated public RuleEngineActionResult updateEngineRule(AbstractRuleEngineRuleModel ruleEngineRule)
updateEngineRule in interface RuleEngineServiceruleEngineRule - Rule to be updatedRuleEngineActionResult.isActionFailed() to check if the
action succeeded)public RuleEngineActionResult updateEngineRule(AbstractRuleEngineRuleModel ruleEngineRule, AbstractRulesModuleModel rulesModule)
RuleEngineServiceupdateEngineRule in interface RuleEngineServiceruleEngineRule - Rule to be updatedrulesModule - AbstractRulesModuleModel where the Rule be updatedRuleEngineActionResult.isActionFailed() to check if the
action succeeded)@Deprecated protected java.util.Optional<RuleEngineActionResult> validateEngineRule(AbstractRuleEngineRuleModel engineRule)
protected java.util.Optional<RuleEngineActionResult> validateEngineRulesModule(AbstractRulesModuleModel rulesModule)
public RuleEngineActionResult archiveRule(AbstractRuleEngineRuleModel ruleEngineRule)
RuleEngineServicearchiveRule in interface RuleEngineServiceruleEngineRule - Rule to be archivedRuleEngineActionResult.isActionFailed() to check if the
action succeeded)public RuleEngineActionResult archiveRule(AbstractRuleEngineRuleModel ruleEngineRule, AbstractRulesModuleModel rulesModule)
RuleEngineServicearchiveRule in interface RuleEngineServiceruleEngineRule - Rule to be archivedrulesModule - AbstractRulesModuleModel where the Rule is archivedRuleEngineActionResult.isActionFailed() to check if the
action succeeded)public <T extends DroolsRuleModel> java.util.Optional<InitializationFuture> archiveRules(java.util.Collection<T> engineRules)
RuleEngineServicearchiveRules in interface RuleEngineServiceT - subtype of DroolsRuleModelengineRules - collection of DroolsRuleModel instancesInitializationFuture keeping the status of initialization@Deprecated public AbstractRuleEngineRuleModel getRuleForCode(java.lang.String code)
getRuleForCode in interface RuleEngineServicecode - the rule codepublic AbstractRuleEngineRuleModel getRuleForCodeAndModule(java.lang.String code, java.lang.String moduleName)
RuleEngineServicegetRuleForCodeAndModule in interface RuleEngineServicecode - the rule codemoduleName - the rules module namepublic AbstractRuleEngineRuleModel getRuleForUuid(java.lang.String uuid)
getRuleForUuid in interface RuleEngineServiceuuid - the rule uuid@Deprecated public AbstractRulesModuleModel getRuleModuleForRule(AbstractRuleEngineRuleModel rule)
getRuleModuleForRule in interface RuleEngineServicerule - the AbstractRuleEngineRuleModel@Deprecated
protected void writeKModuleXML(KieModuleModel module,
KieFileSystem kfs)
RuleEngineKieModuleSwapper interface call@Deprecated protected void writePomXML(DroolsKIEModuleModel module, KieFileSystem kfs)
RuleEngineKieModuleSwapper interface call@Deprecated
protected void addKieBaseModel(KieModuleModel module,
KieFileSystem kfs,
DroolsKIEBaseModel base)
RuleEngineKieModuleSwapper interface call@Deprecated
protected void addRules(KieBaseModel kieBaseModel,
KieFileSystem kfs,
DroolsKIEBaseModel base)
RuleEngineKieModuleSwapper interface method callkieBaseModel - - KIE basekfs - - KIE file systembase - - drools KIE Base@Deprecated
protected void addKieSessionModel(KieBaseModel base,
DroolsKIESessionModel session)
RuleEngineKieModuleSwapper interface call@Deprecated protected MessageLevel convertLevel(Level level)
Level to a MessageLevel.@Deprecated protected KieSessionType getSessionType(DroolsSessionType sessionType)
sessionType - java.lang.UnsupportedOperationException@Deprecated protected EventProcessingOption getEventProcessingOption(DroolsEventProcessingMode eventProcessingMode)
eventProcessingMode - @Deprecated protected EqualityBehaviorOption getEqualityBehaviorOption(DroolsEqualityBehavior behavior)
behavior - @Deprecated protected RuleExecutionCountListener createRuleExecutionCounterListener()
@Deprecated protected ReleaseId getReleaseId(DroolsKIEModuleModel module)
RuleEngineKieModuleSwapper interface callmodule - protected EventService getEventService()
public void setEventService(EventService eventService)
protected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
protected RuleEngineActionResult createRuleEngineActionResult(java.lang.String message, java.lang.String moduleName, boolean success, MessageLevel level)
message and level.message - the messagemoduleName - the module's namesuccess - whether the operation of this result was successful or not (sets
RuleEngineActionResult.setActionFailed(boolean) with the negated value of successlevel - the message level of the ResultItemprotected void populateRuleEngineActionResult(RuleEngineActionResult result, java.lang.String message, java.lang.String moduleName, boolean success, MessageLevel level)
RuleEngineActionResult and
should be used with careresult - the RuleEngineActionResult instance to be populated with given fieldsmessage - the messagemoduleName - the module's namesuccess - whether the operation of this result was successful or not (sets
RuleEngineActionResult.setActionFailed(boolean) with the negated value of successlevel - the message level of the ResultItem@PostConstruct public void setup()
protected EngineRuleDao getEngineRuleDao()
public void setEngineRuleDao(EngineRuleDao engineRuleDao)
protected RulesModuleDao getRulesModuleDao()
public void setRulesModuleDao(RulesModuleDao rulesModuleDao)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected RuleEngineKieModuleSwapper getRuleEngineKieModuleSwapper()
public void setRuleEngineKieModuleSwapper(RuleEngineKieModuleSwapper ruleEngineKieModuleSwapper)
protected DroolsKIEBaseFinderStrategy getDroolsKIEBaseFinderStrategy()
public void setDroolsKIEBaseFinderStrategy(DroolsKIEBaseFinderStrategy droolsKIEBaseFinderStrategy)
protected RuleEngineCacheService getRuleEngineCacheService()
public void setRuleEngineCacheService(RuleEngineCacheService ruleEngineCacheService)
protected ConcurrentMapFactory getConcurrentMapFactory()
public void setConcurrentMapFactory(ConcurrentMapFactory concurrentMapFactory)
@Deprecated protected KieServices getKieServices()
RuleEngineBootstrap.getEngineServices() instead@Deprecated protected void setKieServices(KieServices kieServices)
protected MultiFlag getInitializationMultiFlag()
protected StatelessKieSessionHelper getStatelessKieSessionHelper()
public void setStatelessKieSessionHelper(DefaultStatelessKieSessionHelper statelessKieSessionHelper)
protected RuleEngineTaskProcessor<AbstractRuleEngineRuleModel,TaskResult> getEngineRulesPersistingTaskProcessor()
public void setEngineRulesPersistingTaskProcessor(RuleEngineTaskProcessor<AbstractRuleEngineRuleModel,TaskResult> engineRulesPersistingTaskProcessor)
protected RuleEngineBootstrap<KieServices,KieContainer,DroolsKIEModuleModel> getRuleEngineBootstrap()
public void setRuleEngineBootstrap(RuleEngineBootstrap<KieServices,KieContainer,DroolsKIEModuleModel> ruleEngineBootstrap)
protected RuleEngineContainerRegistry<ReleaseId,KieContainer> getRuleEngineContainerRegistry()
public void setRuleEngineContainerRegistry(RuleEngineContainerRegistry<ReleaseId,KieContainer> ruleEngineContainerRegistry)
@Deprecated protected RuleModuleFinderStrategy getRuleModuleFinderStrategy()
@Deprecated public void setRuleModuleFinderStrategy(RuleModuleFinderStrategy ruleModuleFinderStrategy)
protected EngineRulesRepository getEngineRulesRepository()
public void setEngineRulesRepository(EngineRulesRepository engineRulesRepository)
@Deprecated public void setUpKieServices()
RuleEngineKieModuleSwapperprotected PostRulesModuleSwappingTasksProvider getPostRulesModuleSwappingTasksProvider()
public void setPostRulesModuleSwappingTasksProvider(PostRulesModuleSwappingTasksProvider postRulesModuleSwappingTasksProvider)
Copyright © 2017 SAP SE. All Rights Reserved.