org.richfaces.resource.external

## Interface ExternalStaticResourceFactory

-     public interface ExternalStaticResourceFactory

  Creates resources pointing outside of JSF resource handler.
  Author:
    Lukas Fryc

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

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