public class ActiveJdbcFilter extends Object implements javax.servlet.Filter
<filter> <filter-name>activeJdbcFilter</filter-name> <filter-class>org.javalite.activejdbc.web.ActiveJdbcFilter</filter-class> <init-param> <param-name>jndiName</param-name> <param-value>jdbc/test_jndi</param-value> </init-param> </filter>
Constructor and Description |
---|
ActiveJdbcFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse resp,
javax.servlet.FilterChain chain) |
void |
init(javax.servlet.FilterConfig config) |
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2016 JavaLite. All rights reserved.