RichFaces Core API 4.3.0.CR2

org.richfaces.resource.external
Interface ExternalStaticResourceFactory


public interface ExternalStaticResourceFactory

Creates resources pointing outside of JSF resource handler.

Author:
Lukas Fryc

Method Summary
 ExternalResource createResource(javax.faces.context.FacesContext facesContext, ResourceKey resourceKey)
          Creates external resource
 Set<ResourceKey> getResourcesForLocation(String resourceLocation)
          Returns all resource keys which points to the given external resource location
 

Method Detail

createResource

ExternalResource createResource(javax.faces.context.FacesContext facesContext,
                                ResourceKey resourceKey)
Creates external resource

Parameters:
facesContext - FacesContext
resourceKey - the resource key
Returns:
external resource for given resource key

getResourcesForLocation

Set<ResourceKey> getResourcesForLocation(String resourceLocation)
Returns all resource keys which points to the given external resource location

Parameters:
resourceLocation - the external resource location
Returns:
all resource keys which points to the given external resource location

RichFaces Core API 4.3.0.CR2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.