org.apache.myfaces.renderkit.html.util
Class AddResourceFactory
java.lang.Object
   org.apache.myfaces.renderkit.html.util.AddResourceFactory
org.apache.myfaces.renderkit.html.util.AddResourceFactory
- public class AddResourceFactory 
- extends Object
This class provides the ability to instantiate AddResource objects. By
 default, this class will instantiate instances of
 org.apache.myfaces.renderkit.html.util.DefaultAddResource. However, the
 context parameter org.apache.myfaces.ADD_RESOURCE_CLASS can specify an
 alternative implementation of the AddResource interface. The class must have
 a constructor with a single String argument, representing the context path.
 
 Mostly used to avoid having to include [script src="..."][/script] in
 the head of the pages before using a component.
- Version:
- $Revision: 358042 $ $Date: 2005-12-20 17:12:56 +0000 (Tue, 20 Dec
          2005) $
- Author:
- Peter Mahoney, Sylvain Vieujot (latest modification by $Author: mmarinschek $)
 
| Field Summary | 
| protected static org.apache.commons.logging.Log | log
 | 
 
 
| Method Summary | 
| protected static boolean | checkFilterPattern(javax.faces.context.ExternalContext extCtxt,
                   FilterMapping filterMapping)
 | 
| static AddResource | getInstance(javax.faces.context.FacesContext context)
 | 
| static AddResource | getInstance(javax.servlet.http.HttpServletRequest request)Deprecated. use getInstance(HttpServletRequest request, ServletContext servletContext) instead
 | 
| static AddResource | getInstance(javax.servlet.http.HttpServletRequest request,
            javax.servlet.ServletContext servletContext)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
log
protected static final org.apache.commons.logging.Log log
AddResourceFactory
public AddResourceFactory()
getInstance
public static AddResource getInstance(javax.faces.context.FacesContext context)
- 
 
getInstance
public static AddResource getInstance(javax.servlet.http.HttpServletRequest request)
- Deprecated. use getInstance(HttpServletRequest request, ServletContext servletContext) instead
 
- 
 
getInstance
public static AddResource getInstance(javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.ServletContext servletContext)
- 
 
checkFilterPattern
protected static boolean checkFilterPattern(javax.faces.context.ExternalContext extCtxt,
                                            FilterMapping filterMapping)
- 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.