com.sun.rave.web.ui.util
Interface ResourceFactory
- All Known Implementing Classes:
- ResourceBundleFactory
public interface ResourceFactory
This file defines the ResourceFactory interface. Resources are added to
the Request scope so that they may be accessed easily using JSF EL
value-binding, or by other convient means.
Method Summary |
java.lang.Object |
getResource(javax.faces.context.FacesContext context,
Resource descriptor)
This is the factory method responsible for getting the Resource. |
getResource
java.lang.Object getResource(javax.faces.context.FacesContext context,
Resource descriptor)
- This is the factory method responsible for getting the Resource.
- Parameters:
context
- The FacesContextdescriptor
- The Resource descriptor that is associated
with the requested Resource.
- Returns:
- The newly created Resource