org.atmosphere.util
Class FilterConfigImpl

java.lang.Object
  extended by org.atmosphere.util.FilterConfigImpl
All Implemented Interfaces:
FilterConfig

public final class FilterConfigImpl
extends Object
implements FilterConfig

FilterConfig implementation.

Author:
Jeanfrancois Arcand

Constructor Summary
FilterConfigImpl(ServletConfig sc)
           
 
Method Summary
 Filter getFilter()
          Return the application Filter we are configured for.
 String getFilterName()
          
 String getInitParameter(String name)
          
 Enumeration getInitParameterNames()
          
 ServletContext getServletContext()
          
 void recycle()
          Release the Filter instance associated with this FilterConfig, if there is one.
 void setFilter(Filter filter)
          Set the Filter associated with this object.
 void setFilterName(String filterName)
          Set the Filter's name associated with this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterConfigImpl

public FilterConfigImpl(ServletConfig sc)
Method Detail

getInitParameter

public String getInitParameter(String name)

Specified by:
getInitParameter in interface FilterConfig

getFilterName

public String getFilterName()

Specified by:
getFilterName in interface FilterConfig

getInitParameterNames

public Enumeration getInitParameterNames()

Specified by:
getInitParameterNames in interface FilterConfig

getServletContext

public ServletContext getServletContext()

Specified by:
getServletContext in interface FilterConfig

getFilter

public Filter getFilter()
Return the application Filter we are configured for.


recycle

public void recycle()
Release the Filter instance associated with this FilterConfig, if there is one.


setFilter

public void setFilter(Filter filter)
Set the Filter associated with this object.

Parameters:
filter -

setFilterName

public void setFilterName(String filterName)
Set the Filter's name associated with this object.

Parameters:
filterName -


Copyright © 2010. All Rights Reserved.