Class CmsCacheInitializerInterceptor

java.lang.Object
org.springframework.web.servlet.handler.HandlerInterceptorAdapter
de.hybris.platform.cmswebservices.interceptor.CmsCacheInitializerInterceptor
All Implemented Interfaces:
org.springframework.web.servlet.AsyncHandlerInterceptor, org.springframework.web.servlet.HandlerInterceptor

public class CmsCacheInitializerInterceptor extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
Default interceptor to run before the controller's execution to initialize the permission cache. Reason: part of the code can be run in executeInLocalView which means that everything that is put in the cache during executeInLocalView execution will never be available outside. So we can not initialize the cache inside executeInLocalView. That's why it's initialized here.
  • Constructor Details

    • CmsCacheInitializerInterceptor

      public CmsCacheInitializerInterceptor()
  • Method Details