com.caucho.server.dispatch
Class FilterConfigImpl

java.lang.Object
  extended by com.caucho.server.dispatch.FilterConfigImpl
All Implemented Interfaces:
FilterConfig
Direct Known Subclasses:
FilterMapping

public class FilterConfigImpl
extends java.lang.Object
implements FilterConfig

Configuration for a filter.


Constructor Summary
FilterConfigImpl()
          Creates a new filter configuration object.
 
Method Summary
 java.lang.String getDisplayName()
          Gets the display name
 java.lang.Class getFilterClass()
          Gets the filter name.
 java.lang.String getFilterClassName()
          Gets the filter name.
 java.lang.String getFilterName()
          Gets the filter name.
 ContainerProgram getInit()
          Gets the init block
 java.lang.String getInitParameter(java.lang.String name)
          Gets the init params
 java.util.Enumeration getInitParameterNames()
          Gets the init params
 java.util.Map getInitParamMap()
          Gets the init params
 ServletContext getServletContext()
          Returns the servlet context.
 void setDescription(java.lang.String description)
          Sets the description
 void setDisplayName(java.lang.String displayName)
          Sets the display name
 void setFilterClass(java.lang.String filterClassName)
          Sets the filter class.
 void setFilterName(java.lang.String name)
          Sets the filter name.
 void setIcon(java.lang.String icon)
          Sets the icon
 void setId(java.lang.String id)
           
 void setInit(ContainerProgram init)
          Sets the init block
 void setInitParam(InitParam initParam)
          Sets an init-param
 void setInitParam(java.lang.String param, java.lang.String value)
          Sets an init-param
 void setServletContext(ServletContext app)
          Sets the servlet context.
 java.lang.String toString()
          Returns a printable representation of the filter config object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterConfigImpl

public FilterConfigImpl()
Creates a new filter configuration object.

Method Detail

setId

public void setId(java.lang.String id)

setFilterName

public void setFilterName(java.lang.String name)
Sets the filter name.


getFilterName

public java.lang.String getFilterName()
Gets the filter name.

Specified by:
getFilterName in interface FilterConfig

setFilterClass

public void setFilterClass(java.lang.String filterClassName)
                    throws ConfigException,
                           java.lang.ClassNotFoundException
Sets the filter class.

Throws:
ConfigException
java.lang.ClassNotFoundException

getFilterClass

public java.lang.Class getFilterClass()
Gets the filter name.


getFilterClassName

public java.lang.String getFilterClassName()
Gets the filter name.


setInitParam

public void setInitParam(java.lang.String param,
                         java.lang.String value)
Sets an init-param


setInitParam

public void setInitParam(InitParam initParam)
Sets an init-param


getInitParamMap

public java.util.Map getInitParamMap()
Gets the init params


getInitParameter

public java.lang.String getInitParameter(java.lang.String name)
Gets the init params

Specified by:
getInitParameter in interface FilterConfig
Parameters:
name - of the parameter
Returns:
the init parameter value

getInitParameterNames

public java.util.Enumeration getInitParameterNames()
Gets the init params

Specified by:
getInitParameterNames in interface FilterConfig

getServletContext

public ServletContext getServletContext()
Returns the servlet context.

Specified by:
getServletContext in interface FilterConfig

setServletContext

public void setServletContext(ServletContext app)
Sets the servlet context.


setInit

public void setInit(ContainerProgram init)
Sets the init block


getInit

public ContainerProgram getInit()
Gets the init block


setDisplayName

public void setDisplayName(java.lang.String displayName)
Sets the display name


getDisplayName

public java.lang.String getDisplayName()
Gets the display name


setDescription

public void setDescription(java.lang.String description)
Sets the description


setIcon

public void setIcon(java.lang.String icon)
Sets the icon


toString

public java.lang.String toString()
Returns a printable representation of the filter config object.

Overrides:
toString in class java.lang.Object