|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.uch.resource.localresourcemanager.LocalResourceManager
public class LocalResourceManager
Parse all .ucf(UCH Config File) files from specific location. Validate these files and save their contents as resources. Also provide methods to find resources from available local resources.
| Constructor Summary | |
|---|---|
LocalResourceManager(ResourceManager resourceManager,
String resourceDirUri)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
addResource(String ucfFileURI)
Add resource derived by specifies UCF file to the local resources. |
List<Map<String,List<String>>> |
getResources(Map<String,List<String>> reqProps)
Get Resources for specified resource properties. |
void |
reload()
Clear all local resource properties and load all resource again. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalResourceManager(ResourceManager resourceManager,
String resourceDirUri)
resourceDirUri - a String value of Resource Directory URI| Method Detail |
|---|
public List<Map<String,List<String>>> getResources(Map<String,List<String>> reqProps)
reqProps - an Object of Map<String, List<String>>
public void reload()
public boolean addResource(String ucfFileURI)
ucfFileURI - a String value of UCF file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||