org.apache.sling.engine.impl.helper
Class SlingFilterConfig
java.lang.Object
org.apache.sling.engine.impl.helper.SlingFilterConfig
- All Implemented Interfaces:
- javax.servlet.FilterConfig
public class SlingFilterConfig
- extends java.lang.Object
- implements javax.servlet.FilterConfig
|
Constructor Summary |
SlingFilterConfig(javax.servlet.ServletContext servletContext,
org.osgi.framework.ServiceReference reference,
java.lang.String filterName)
Sets up this base configuration object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlingFilterConfig
public SlingFilterConfig(javax.servlet.ServletContext servletContext,
org.osgi.framework.ServiceReference reference,
java.lang.String filterName)
- Sets up this base configuration object.
- Parameters:
servletContext - The ServletContext attached to this
configuration.reference - The service reference providing the initialization
parameter values.filterName - The name of this configuration.
getInitParameter
public java.lang.String getInitParameter(java.lang.String name)
- Specified by:
getInitParameter in interface javax.servlet.FilterConfig
- See Also:
FilterConfig.getInitParameter(java.lang.String)
getInitParameterNames
public java.util.Enumeration<?> getInitParameterNames()
- Specified by:
getInitParameterNames in interface javax.servlet.FilterConfig
- See Also:
FilterConfig.getInitParameterNames()
getServletContext
public javax.servlet.ServletContext getServletContext()
- Specified by:
getServletContext in interface javax.servlet.FilterConfig
- See Also:
FilterConfig.getServletContext()
getName
public static java.lang.String getName(org.osgi.framework.ServiceReference reference)
- Looks for a name value in the service reference properties. See the
class comment at the top for the list of properties checked by this
method.
getFilterName
public java.lang.String getFilterName()
- Specified by:
getFilterName in interface javax.servlet.FilterConfig
- See Also:
FilterConfig.getFilterName()
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.