Package org.joinfaces.autoconfigure.jpa
Class OrderedOpenEntityManagerInViewFilter
- java.lang.Object
-
- org.springframework.web.filter.GenericFilterBean
-
- org.springframework.web.filter.OncePerRequestFilter
-
- org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
-
- org.joinfaces.autoconfigure.jpa.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 ofOpenEntityManagerInViewFilter
.
-
-
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
-
-
Constructor Summary
Constructors Constructor Description OrderedOpenEntityManagerInViewFilter()
-
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
-
-
-
-
Method Detail
-
getOrder
public int getOrder()
The order of this filter.Before the springSecurityFilterChain and possibly
RewriteFilter
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order)
The order of this filter.Before the springSecurityFilterChain and possibly
RewriteFilter
-
-