## Uses of Class
javax.faces.application.Resource

- Packages that use Resource
  Package | Description
  --- | ---
  javax.faces.application | APIs that are used to link an application's business logic objects to JavaServer Faces, as well as convenient pluggable mechanisms to manage the execution of an application that is based on JavaServer Faces.
  javax.faces.view | Classes for defining a View Declaration Language (VDL) for authoring JavaServer Faces user interfaces.

- - ### Uses of Resource in javax.faces.application

    Subclasses of Resource in javax.faces.application
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ResourceWrapper` Provides a simple implementation of `Resource` that can be subclassed by developers wishing to provide specialized behavior to an existing `Resource` instance.

    Methods in javax.faces.application that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | ResourceHandlerWrapper.`createResource(String resourceName)` The default behavior of this method is to call `ResourceHandler.createResource(String)` on the wrapped `ResourceHandler` object.
    `abstract Resource` | ResourceHandler.`createResource(String resourceName)` Create an instance of `ViewResource` given the argument `resourceName`.
    `Resource` | ResourceHandlerWrapper.`createResource(String resourceName, String libraryName)` The default behavior of this method is to call `ResourceHandler.createResource(String, String)` on the wrapped `ResourceHandler` object.
    `abstract Resource` | ResourceHandler.`createResource(String resourceName, String libraryOrContractName)` Create an instance of `Resource` with a resourceName given by the value of the argument `resourceName` that is a member of the library named by the argument `libraryName`.
    `Resource` | ResourceHandlerWrapper.`createResource(String resourceName, String libraryName, String contentType)` The default behavior of this method is to call `ResourceHandler.createResource(String, String, String)` on the wrapped `ResourceHandler` object.
    `abstract Resource` | ResourceHandler.`createResource(String resourceName, String libraryName, String contentType)` Create an instance of `Resource` with a resourceName given by the value of the argument `resourceName` that is a member of the library named by the argument `libraryName` that claims to have the content-type given by the argument `content-type`.
    `Resource` | ResourceHandlerWrapper.`createResourceFromId(String resourceId)` The default behavior of this method is to call `ResourceHandler.createResourceFromId(String)` on the wrapped `ResourceHandler` object.
    `Resource` | ResourceHandler.`createResourceFromId(String resourceId)` Create an instance of `Resource` given the argument `resourceId`.
    `abstract Resource` | ResourceWrapper.`getWrapped()`

    Methods in javax.faces.application with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `UIComponent` | ApplicationWrapper.`createComponent(FacesContext context, Resource componentResource)` The default behavior of this method is to call `Application.createComponent(javax.faces.context.FacesContext, Resource)` on the wrapped `Application` object.
    `UIComponent` | Application.`createComponent(FacesContext context, Resource componentResource)` Instantiate and return a new `UIComponent` instance from the argument `Resource`.

  - ### Uses of Resource in javax.faces.view

    Methods in javax.faces.view that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | ViewDeclarationLanguageWrapper.`getScriptComponentResource(FacesContext context, Resource componentResource)`
    `abstract Resource` | ViewDeclarationLanguage.`getScriptComponentResource(FacesContext context, Resource componentResource)` Take implementation specific action to discover a `Resource` given the argument `componentResource`.

    Methods in javax.faces.view with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `BeanInfo` | ViewDeclarationLanguageWrapper.`getComponentMetadata(FacesContext context, Resource componentResource)`
    `abstract BeanInfo` | ViewDeclarationLanguage.`getComponentMetadata(FacesContext context, Resource componentResource)` Return a reference to the component metadata for the composite component represented by the argument `componentResource`, or `null` if the metadata cannot be found.
    `Resource` | ViewDeclarationLanguageWrapper.`getScriptComponentResource(FacesContext context, Resource componentResource)`
    `abstract Resource` | ViewDeclarationLanguage.`getScriptComponentResource(FacesContext context, Resource componentResource)` Take implementation specific action to discover a `Resource` given the argument `componentResource`.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.