net.officefloor.plugin.servlet.filter
Class FilterChainFactoryImpl

java.lang.Object
  extended by net.officefloor.plugin.servlet.filter.FilterChainFactoryImpl
All Implemented Interfaces:
FilterChainFactory

public class FilterChainFactoryImpl
extends Object
implements FilterChainFactory

FilterChainFactory implementation.

Author:
Daniel Sagenschneider

Constructor Summary
FilterChainFactoryImpl(Office office, FilterServicer... servicers)
          Initiate.
 
Method Summary
 javax.servlet.FilterChain createFilterChain(ServicerMapping mapping, MappingType mappingType, javax.servlet.FilterChain target)
          Constructs a FilterChain to a target FilterChain to allow create chains of chains.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterChainFactoryImpl

public FilterChainFactoryImpl(Office office,
                              FilterServicer... servicers)
                       throws javax.servlet.ServletException
Initiate.

Parameters:
office - Office.
servicers - FilterServicer instances.
Throws:
javax.servlet.ServletException - If fails to initiate.
Method Detail

createFilterChain

public javax.servlet.FilterChain createFilterChain(ServicerMapping mapping,
                                                   MappingType mappingType,
                                                   javax.servlet.FilterChain target)
                                            throws javax.servlet.ServletException
Description copied from interface: FilterChainFactory
Constructs a FilterChain to a target FilterChain to allow create chains of chains.

Specified by:
createFilterChain in interface FilterChainFactory
Parameters:
mapping - ServicerMapping.
mappingType - MappingType.
target - Target as last node in constructed the FilterChain.
Returns:
FilterChain.
Throws:
javax.servlet.ServletException - If fails to create FilterChain.


Copyright © 2005-2012. All Rights Reserved.