Parse all ucf(UCH Config File) files from specific location.
Public Methods
-
LocalResourceManager(ResourceManager* resourceManager, string resourceDirUri)
- Constructor.
-
bool isUriContainsResServerAppPath(string uri)
- Call the same method of Resource Manager.
-
list<map<string, list<string>*>*> * getResServerResource(map<string, list<string>*>*resourceProps)
- Call the same method of Resource Manager.
-
list<map<string, list<string>*>*> * getResourceServerResources(map<string, list<string>*>*resourceProps)
- Call the same method of Resource Manager.
-
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
-
bool addResource(string ucfFileURI)
- Add resource derived by specifies UCF file to the local resources.
Documentation
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.
LocalResourceManager(ResourceManager* resourceManager, string resourceDirUri)
-
Constructor.
Parse all .ucf(UCH Config File) files from sub directories of specified Directory.
Validate these files and save their contents as resources.
- Parameters:
- resourceManager - an Object ResourceManager
resourceDirUri - a String value of Resource Directory URI
bool isUriContainsResServerAppPath(string uri)
-
Call the same method of Resource Manager.
- Parameters:
- uri - a String value of URI
- Returns:
- return value from Resource Manager
list<map<string, list<string>*>*> * getResServerResource(map<string, list<string>*>*resourceProps)
-
Call the same method of Resource Manager. This will fetch local or resource server resource.
- Parameters:
- resourceProps - an Object of Map<String, String>
- Returns:
- an Object of Map<String, Object>
list<map<string, list<string>*>*> * getResourceServerResources(map<string, list<string>*>*resourceProps)
-
Call the same method of Resource Manager. This will fetch only resource server resource.
- Parameters:
- resourceProps - an Object of Map<String, String>
- Returns:
- an Object of List<Map<String, Object>>
list<map<string, list<string>*>*> * getResources(map<string, list<string>*>* reqProps)
-
Get Resources for specified resource properties.
- Parameters:
- reqProps - an Object of Map<String, List<String>>
- Returns:
- an Object of List<Map<String, List<String>>>
void reload()
-
Clear all local resource properties and load all resource again
bool addResource(string ucfFileURI)
-
Add resource derived by specifies UCF file to the local resources.
- Parameters:
- ucfFileURI - a String value of UCF file.
- Returns:
- a boolean value specifies whether local resource added successfully or not
- This class has no child classes.
- Author:
- Parikshit Thakur & Team, Trace R&D Center
- Version:
- Revision: 1.1
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.