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

- Packages that use ViewResource
  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.

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

    Subclasses of ViewResource in javax.faces.application
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Resource` An instance of `Resource` is a Java object representation of the artifact that is served up in response to a resource request from the client.
    `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 ViewResource
    Modifier and Type | Method and Description
    --- | ---
    `ViewResource` | ResourceHandlerWrapper.`createViewResource(FacesContext context, String resourceName)` The default behavior of this method is to call `ResourceHandler.createViewResource(javax.faces.context.FacesContext, java.lang.String)` on the wrapped `ResourceHandler` object.
    `ViewResource` | ResourceHandler.`createViewResource(FacesContext context, String resourceName)` Create an instance of `Resource` given the argument `resourceName`, which may contain "/" characters.

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