com.jalios.jcms.db
Class HibernateSessionFilter

java.lang.Object
  extended by com.jalios.jcms.db.HibernateSessionFilter
All Implemented Interfaces:
javax.servlet.Filter

public class HibernateSessionFilter
extends Object
implements javax.servlet.Filter

This filter wraps an Hibernate transaction around this request.

Since:
jcms-6.0.0
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Constructor Summary
HibernateSessionFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

HibernateSessionFilter

public HibernateSessionFilter()
Method Detail

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws javax.servlet.ServletException,
                     IOException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException
IOException

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter


Copyright © 2001-2010 Jalios SA. All Rights Reserved.