View Javadoc

1   /*
2    * $Id: IResourceProxyHandler.java,v 1.1 2009/04/09 09:25:49 oeuillot Exp $
3    */
4   package org.rcfaces.core.internal.contentProxy;
5   
6   import javax.faces.context.FacesContext;
7   
8   import org.rcfaces.core.internal.contentAccessor.IContentAccessor;
9   import org.rcfaces.core.internal.contentAccessor.IGeneratedResourceInformation;
10  
11  /**
12   * 
13   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
14   * @version $Revision: 1.1 $ $Date: 2009/04/09 09:25:49 $
15   */
16  public interface IResourceProxyHandler {
17  
18      String ID = "org.rcfaces.core.RESOURCE_PROXY_PROVIDER";
19  
20      boolean isEnabled();
21  
22      boolean isFiltredResourcesEnabled();
23  
24      String computeProxyedURL(FacesContext facesContext,
25              IContentAccessor contentAccessor,
26              IGeneratedResourceInformation[] contentInformationRef, String url);
27  
28      boolean isFrameworkResourcesEnabled();
29  }