Class OrderedOpenEntityManagerInViewFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
org.joinfaces.jpa.OrderedOpenEntityManagerInViewFilter
All Implemented Interfaces:
jakarta.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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 jakarta.servlet.Filter

    destroy, doFilter, init
  • Constructor Details

    • OrderedOpenEntityManagerInViewFilter

      public OrderedOpenEntityManagerInViewFilter()
  • Method Details

    • getOrder

      public int getOrder()
      The order of this filter.

      Before the springSecurityFilterChain

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

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

      Before the springSecurityFilterChain