org.richfaces.resource.external

## Interface MappedResourceFactory

- All Known Implementing Classes:
    MappedResourceFactoryImpl

      public interface MappedResourceFactory

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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.faces.application.Resource` | `createResource(javax.faces.context.FacesContext facesContext, ResourceKey resourceKey)` Creates external resource
    `Set<ResourceKey>` | `getAggregatedResources(ResourcePath resourcePath)` Get all resources which maps to same location

- - ### Method Detail

    - #### createResource

          javax.faces.application.Resource 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

    - #### getAggregatedResources

          Set<ResourceKey> getAggregatedResources(ResourcePath resourcePath)

      Get all resources which maps to same location
      Parameters:
        `resourcePath` -
      Returns:
        all resources which maps to same location

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