Class OrderedOpenEntityManagerInViewFilter

  • 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.boot.web.servlet.filter.OrderedFilter, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.core.Ordered, org.springframework.web.context.ServletContextAware

    public class OrderedOpenEntityManagerInViewFilter
    extends org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
    implements org.springframework.boot.web.servlet.filter.OrderedFilter
    Ordered variant of OpenEntityManagerInViewFilter.
    • Field Summary

      • Fields inherited from class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter

        DEFAULT_ENTITY_MANAGER_FACTORY_BEAN_NAME
      • Fields inherited from class org.springframework.web.filter.OncePerRequestFilter

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

        logger
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
      • Fields inherited from interface org.springframework.boot.web.servlet.filter.OrderedFilter

        REQUEST_WRAPPER_FILTER_MAX_ORDER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getOrder()
      The order of this filter.
      void setOrder​(int order)
      The order of this filter.
      • Methods inherited from class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter

        createEntityManager, doFilterInternal, getEntityManagerFactoryBeanName, getPersistenceUnitName, lookupEntityManagerFactory, lookupEntityManagerFactory, setEntityManagerFactoryBeanName, setPersistenceUnitName, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
      • Methods inherited from class org.springframework.web.filter.OncePerRequestFilter

        doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter
      • 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, toString, wait, wait, wait
      • Methods inherited from interface javax.servlet.Filter

        destroy, doFilter, init
    • Constructor Detail

      • OrderedOpenEntityManagerInViewFilter

        public OrderedOpenEntityManagerInViewFilter()
    • Method Detail

      • getOrder

        public int getOrder()
        The order of this filter.

        Before the springSecurityFilterChain and possibly RewriteFilter

        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • setOrder

        public void setOrder​(int order)
        The order of this filter.

        Before the springSecurityFilterChain and possibly RewriteFilter