|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.rave.web.ui.util.ResourceBundleFactory
public class ResourceBundleFactory
This factory class provides a means to instantiate a
java.util.ResouceBundle. It implements the ResourceFactory
which the TemplateRenderer
knows how to use to create arbitrary Resource objects. This
factory utilizes the ResourceBundleManager for efficiency.
ResourceFactory,
Resource| Constructor Summary | |
|---|---|
ResourceBundleFactory()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getResource(javax.faces.context.FacesContext context,
Resource descriptor)
This is the factory method responsible for obtaining a ResourceBundle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceBundleFactory()
| Method Detail |
|---|
public java.lang.Object getResource(javax.faces.context.FacesContext context,
Resource descriptor)
This is the factory method responsible for obtaining a ResourceBundle. This method uses the ResourceBundleManager to manage instances of ResourceBundles per key/locale.
It should be noted that this method does not do anything if there is already a request attribute with the given id.
getResource in interface ResourceFactorycontext - The FacesContextdescriptor - The Resource descriptor that is associated
with the requested Resource.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||