public class GrailsOpenSessionInViewFilter
extends org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
DEFAULT_SESSION_FACTORY_BEAN_NAME| Constructor and Description |
|---|
GrailsOpenSessionInViewFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeSession(org.hibernate.Session session,
org.hibernate.SessionFactory sessionFactory) |
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
protected org.hibernate.Session |
getSession(org.hibernate.SessionFactory sessionFactory) |
protected org.hibernate.SessionFactory |
lookupSessionFactory() |
getFlushMode, getSessionFactoryBeanName, isSingleSession, lookupSessionFactory, setFlushMode, setSessionFactoryBeanName, setSingleSessiondoFilter, getAlreadyFilteredAttributeName, shouldNotFilterprotected org.hibernate.SessionFactory lookupSessionFactory()
lookupSessionFactory in class org.springframework.orm.hibernate3.support.OpenSessionInViewFilterprotected org.hibernate.Session getSession(org.hibernate.SessionFactory sessionFactory)
throws org.springframework.dao.DataAccessResourceFailureException
getSession in class org.springframework.orm.hibernate3.support.OpenSessionInViewFilterorg.springframework.dao.DataAccessResourceFailureExceptionprotected void doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws javax.servlet.ServletException,
java.io.IOException
doFilterInternal in class org.springframework.orm.hibernate3.support.OpenSessionInViewFilterjavax.servlet.ServletExceptionjava.io.IOExceptionprotected void closeSession(org.hibernate.Session session,
org.hibernate.SessionFactory sessionFactory)
closeSession in class org.springframework.orm.hibernate3.support.OpenSessionInViewFilter