info.magnolia.cms.filters
Class FilterManagerImpl

java.lang.Object
  extended by info.magnolia.cms.filters.FilterManagerImpl
All Implemented Interfaces:
FilterManager

@Singleton
public class FilterManagerImpl
extends Object
implements FilterManager

Default FilterManager implementation; uses node2bean and observation to maintain the filter chain configured at .


Field Summary
 
Fields inherited from interface info.magnolia.cms.filters.FilterManager
SERVER_FILTERS
 
Constructor Summary
FilterManagerImpl(ModuleManager moduleManager, SystemContext systemContext, Node2BeanProcessor nodeToBean)
           
 
Method Summary
protected  MgnlFilter createRootFilter()
           
protected  MgnlFilter createSystemUIFilter()
          Initializes the required filter(s) if we need to go through SystemUI initialization screens.
 void destroy()
           
protected  void destroyRootFilter(MgnlFilter rootFilter)
           
 MgnlFilterDispatcher getFilterDispatcher()
           
 void init(javax.servlet.FilterConfig filterConfig)
           
protected  void initRootFilter(MgnlFilter rootFilter, javax.servlet.FilterConfig filterConfig)
           
protected  boolean isSystemUIMode()
          Checks if Magnolia is ready to operate or if we need to go through SystemUI initialization screens.
protected  void resetRootFilter()
           
protected  void startObservation()
           
 void startUsingConfiguredFilters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterManagerImpl

@Inject
public FilterManagerImpl(ModuleManager moduleManager,
                                SystemContext systemContext,
                                Node2BeanProcessor nodeToBean)
Method Detail

init

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

destroy

public void destroy()
Specified by:
destroy in interface FilterManager

getFilterDispatcher

public MgnlFilterDispatcher getFilterDispatcher()
Specified by:
getFilterDispatcher in interface FilterManager

startUsingConfiguredFilters

public void startUsingConfiguredFilters()
Specified by:
startUsingConfiguredFilters in interface FilterManager

resetRootFilter

protected void resetRootFilter()

createRootFilter

protected MgnlFilter createRootFilter()
                               throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

initRootFilter

protected void initRootFilter(MgnlFilter rootFilter,
                              javax.servlet.FilterConfig filterConfig)
                       throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

destroyRootFilter

protected void destroyRootFilter(MgnlFilter rootFilter)

createSystemUIFilter

protected MgnlFilter createSystemUIFilter()
Initializes the required filter(s) if we need to go through SystemUI initialization screens.


isSystemUIMode

protected boolean isSystemUIMode()
Checks if Magnolia is ready to operate or if we need to go through SystemUI initialization screens.


startObservation

protected void startObservation()


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.