Class DynamicCatalogVersionActivationFilter

  • All Implemented Interfaces:
    javax.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

    public class DynamicCatalogVersionActivationFilter
    extends org.springframework.web.filter.GenericFilterBean
    DynamicCatalogVersionActivationFilter takes care of activating the catalog versions at runtime.
    • Field Summary

      • Fields inherited from class org.springframework.web.filter.GenericFilterBean

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doFilter​(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain)
      Before the filterChain gets processed, DynamicCatalogVersionActivationFilter takes care of activating the catalog versions properly
      void setCatalogService​(CatalogService catalogService)  
      void setCatalogVersionService​(CatalogVersionService catalogVersionService)  
      java.lang.String toString()  
      • Methods inherited from class org.springframework.web.filter.GenericFilterBean

        addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DynamicCatalogVersionActivationFilter

        public DynamicCatalogVersionActivationFilter()
    • Method Detail

      • doFilter

        public void doFilter​(javax.servlet.ServletRequest request,
                             javax.servlet.ServletResponse response,
                             javax.servlet.FilterChain filterChain)
                      throws java.io.IOException,
                             javax.servlet.ServletException
        Before the filterChain gets processed, DynamicCatalogVersionActivationFilter takes care of activating the catalog versions properly
        Parameters:
        request - the request
        response - the response
        filterChain - the filterChain
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setCatalogVersionService

        public void setCatalogVersionService​(CatalogVersionService catalogVersionService)
      • setCatalogService

        public void setCatalogService​(CatalogService catalogService)