ro.isdc.wro.extensions.http
Class SpringWroFilter

java.lang.Object
  extended by ro.isdc.wro.http.WroFilter
      extended by ro.isdc.wro.http.ConfigurableWroFilter
          extended by ro.isdc.wro.extensions.http.SpringWroFilter
All Implemented Interfaces:
javax.servlet.Filter

public final class SpringWroFilter
extends ConfigurableWroFilter

SpringWroFilter.
A WroFilter capable to get a WroManagerFactory instance from spring context. The filter must have initParam called targetBeanName whose value will be looked up in the spring application context.

Author:
Alex Objelean

Field Summary
 
Fields inherited from class ro.isdc.wro.http.WroFilter
API_RELOAD_CACHE, API_RELOAD_MODEL, PATH_API
 
Constructor Summary
SpringWroFilter()
           
 
Method Summary
protected  void doInit(javax.servlet.FilterConfig filterConfig)
          
protected  WroManagerFactory getWroManagerFactory()
          
 
Methods inherited from class ro.isdc.wro.http.ConfigurableWroFilter
getEncoding, newMBeanName, newWroConfigurationFactory, newWroManagerFactory, setCacheUpdatePeriod, setDebug, setDisableCache, setEncoding, setGzipEnabled, setJmxEnabled, setMbeanName, setModelUpdatePeriod, setProperties
 
Methods inherited from class ro.isdc.wro.http.WroFilter
destroy, doFilter, getMBeanServer, getWroConfiguration, init, onRequestProcessed, onRuntimeException, setResponseHeaders, setWroManagerFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringWroFilter

public SpringWroFilter()
Method Detail

doInit

protected void doInit(javax.servlet.FilterConfig filterConfig)
               throws javax.servlet.ServletException

Overrides:
doInit in class WroFilter
Throws:
javax.servlet.ServletException

getWroManagerFactory

protected WroManagerFactory getWroManagerFactory()

Overrides:
getWroManagerFactory in class WroFilter


Copyright © 2008-2012. All Rights Reserved.