org.richfaces.resource

## Interface ResourceLibrary

- All Known Subinterfaces:
    ComponentValidatorScript, FunctionDefWithDependencies, LibraryFunction, ScriptWithDependencies
  All Known Implementing Classes:
    AjaxOnlyScript, AjaxResourceLibrary, ClientAndAjaxScript, ClientOnlyScript, DnDScript, DragScript, DropScript, JSWithDependencies, LibraryScriptFunction, NullConverterScript, QueueResourceLibrary, StaticResourceLibrary, ValidatorScriptBase

      public interface ResourceLibrary

  The library of resources is references as '*.reslib' resource key and it can be represented by '*.library.properties' files under /META-INF/richfaces following JSF's resource library scheme.

  E.g.:

  - resource key 'my.library:custom.reslib'
  - is represented by '/META-INF/richfaces/my.library/custom.library.properties' file

  library.properties files can either:

  - define a comma-separated list of resources, e.g. `resources=javax.faces:jsf.js, org.richfaces:richfaces.js`
  - or container a reference to a class implementing `ResourceLibrary` that will (dynamically) return list of resources contained in the library, e.g. `class=my.library.CustomResourceLibrary`
  Author:
    Nick Belaevski
  See Also:
    `ResourceLibraryFactory`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<ResourceKey>` | `getResources()` Returns a list of resources contained in this resource library

- - ### Method Detail

    - #### getResources

          Iterable<ResourceKey> getResources()

      Returns a list of resources contained in this resource library

      The result does not have to be stable; i.e. the returned list of resources may differ for each execution based on context, configuration, time, etc.

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