org.apache.pluto.driver.services.container
Class FilterConfigImpl

java.lang.Object
  extended by org.apache.pluto.driver.services.container.FilterConfigImpl
All Implemented Interfaces:
FilterConfig

public class FilterConfigImpl
extends Object
implements FilterConfig

Since:
29/05/2007
Version:
2.0

Constructor Summary
FilterConfigImpl(String filterName, List<InitParamDD> initParameters)
           
 
Method Summary
 String getFilterName()
          Returns the filter-name of this filter as defined in the portlet deployment descriptor.
 String getInitParameter(String name)
          Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
 Enumeration getInitParameterNames()
          Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.
 PortletContext getPortletContext()
          Returns a reference to the PortletContext in which the caller is executing.
 void setPortletContext(PortletContext portletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterConfigImpl

public FilterConfigImpl(String filterName,
                        List<InitParamDD> initParameters)
Method Detail

getFilterName

public String getFilterName()
Description copied from interface: FilterConfig
Returns the filter-name of this filter as defined in the portlet deployment descriptor.

Specified by:
getFilterName in interface FilterConfig
Returns:
the filter name

getInitParameter

public String getInitParameter(String name)
Description copied from interface: FilterConfig
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.

Initialization parameters are defined in the portlet deployment descriptor.

Specified by:
getInitParameter in interface FilterConfig
Parameters:
name - the name of the initialization parameter to return
Returns:
initialization parameter, or null if the parameter does not exist.

getInitParameterNames

public Enumeration getInitParameterNames()
Description copied from interface: FilterConfig
Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.

Initialization parameters are defined in the portlet deployment descriptor.

Specified by:
getInitParameterNames in interface FilterConfig
Returns:
the names of the filter's initialization parameters, or an empty Enumeration if the filter has no initialization parameters.

getPortletContext

public PortletContext getPortletContext()
Description copied from interface: FilterConfig
Returns a reference to the PortletContext in which the caller is executing.

Specified by:
getPortletContext in interface FilterConfig
Returns:
the portlet context

setPortletContext

public void setPortletContext(PortletContext portletContext)


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.