Package com.poscoict.glueframework.web
Class GlueLazyTransactionReleaseFilter
java.lang.Object
com.poscoict.glueframework.web.GlueLazyTransactionReleaseFilter
- All Implemented Interfaces:
Filter
GlueLazyTransactionManager Handler. Web 환경의 Request를 처리시(GlueServcie 실행시) GlueLazyTransactionManager가 사용되는 경우 Filter를 추가해서,
GlueLazyTransactionManager를 정리해주어야 한다.
web.xml 파일 내용
<filter>
<filter-name>handler</filter-name>
<filter-class>com.poscoict.glueframework.web.GlueLazyTransactionReleaseFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>handler</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voiddoFilter(ServletRequest req, ServletResponse res, FilterChain filterChain) voidinit(FilterConfig cfg)
-
Constructor Details
-
GlueLazyTransactionReleaseFilter
public GlueLazyTransactionReleaseFilter()
-
-
Method Details
-
destroy
public void destroy() -
doFilter
public void doFilter(ServletRequest req, ServletResponse res, FilterChain filterChain) throws IOException, ServletException - Specified by:
doFilterin interfaceFilter- Throws:
IOExceptionServletException
-
init
- Specified by:
initin interfaceFilter- Throws:
ServletException
-