Class OnRuleEngineModuleSwapCompletedListener<T>
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<RuleEngineModuleSwapCompletedEvent>
de.hybris.platform.ruleengine.event.OnRuleEngineModuleSwapCompletedListener<T>
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<RuleEngineModuleSwapCompletedEvent>
public class OnRuleEngineModuleSwapCompletedListener<T>
extends AbstractEventListener<RuleEngineModuleSwapCompletedEvent>
triggered after the (local) rule publication has been completed. If the publication was successful, this listener
shuts down and removes any old kie session pool.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected KieSessionHelper<T>protected RulesModuleDaoprotected voidThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetKieSessionHelper(KieSessionHelper<T> kieSessionHelper) voidsetRulesModuleDao(RulesModuleDao rulesModuleDao) Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Constructor Details
-
OnRuleEngineModuleSwapCompletedListener
public OnRuleEngineModuleSwapCompletedListener()
-
-
Method Details
-
onEvent
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<RuleEngineModuleSwapCompletedEvent>- Parameters:
event- the event to be processed- See Also:
-
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
getKieSessionHelper
-
getRulesModuleDao
-
setKieSessionHelper
-
setRulesModuleDao
-