public class ProductConfigUserChangedEventListener extends AbstractEventListener<AfterSessionUserChangeEvent>
AfterSessionUserChangeEvent. It will clear the read cache of the configuration
engine for any configuration stored in the user session. This will ensure that configuration data is re-read and that
rule evaluation is re-triggered. So rule framework and configuration engine can immediately react on the user change.| Constructor and Description |
|---|
ProductConfigUserChangedEventListener() |
| Modifier and Type | Method and Description |
|---|---|
protected SessionAccessService |
getSessionAccessService() |
protected void |
logUserInfo(AfterSessionUserChangeEvent evt) |
protected void |
onEvent(AfterSessionUserChangeEvent evt)
This method is called by
AbstractEventListener#onApplicationEvent(ApplicationEvent) and processes the
given event. |
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantServicepublic ProductConfigUserChangedEventListener()
protected void onEvent(AfterSessionUserChangeEvent evt)
AbstractEventListenerAbstractEventListener#onApplicationEvent(ApplicationEvent) and processes the
given event.onEvent in class AbstractEventListener<AfterSessionUserChangeEvent>evt - the event to be processed#onApplicationEvent(ApplicationEvent)protected SessionAccessService getSessionAccessService()
protected void logUserInfo(AfterSessionUserChangeEvent evt)
Copyright © 2017 SAP SE. All Rights Reserved.