info.magnolia.module.blossom.web
Class InstallationAwareDelegatingFilterProxy
java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.DelegatingFilterProxy
info.magnolia.module.blossom.web.InstallationAwareDelegatingFilterProxy
- All Implemented Interfaces:
- javax.servlet.Filter, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.web.context.ServletContextAware
public class InstallationAwareDelegatingFilterProxy
- extends org.springframework.web.filter.DelegatingFilterProxy
Extension of DelegatingFilterProxy
needed when Spring hasn't started and the filter is seeing requests. This
happens when Magnolia is in install/update mode. Until the update/install -phase is over it will simply delegate
to the next filter in line.
- Since:
- 1.2
- See Also:
DelegatingFilterProxy
Fields inherited from class org.springframework.web.filter.GenericFilterBean |
logger |
Method Summary |
protected boolean |
canInitialize()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
|
Methods inherited from class org.springframework.web.filter.DelegatingFilterProxy |
destroy, destroyDelegate, findWebApplicationContext, getContextAttribute, getTargetBeanName, initDelegate, initFilterBean, invokeDelegate, isTargetFilterLifecycle, setContextAttribute, setTargetBeanName, setTargetFilterLifecycle |
Methods inherited from class org.springframework.web.filter.GenericFilterBean |
addRequiredProperty, afterPropertiesSet, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, setBeanName, setServletContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstallationAwareDelegatingFilterProxy
public InstallationAwareDelegatingFilterProxy()
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Overrides:
doFilter
in class org.springframework.web.filter.DelegatingFilterProxy
- Throws:
IOException
javax.servlet.ServletException
canInitialize
protected boolean canInitialize()
Copyright © 2009-2012 Magnolia International Ltd.. All Rights Reserved.