public class ResourceManager
extends java.lang.Object
${services_rest_ResourceManager_Title}
${services_rest_ResourceManager_Description}
Constructor and Description |
---|
ResourceManager(java.util.List<ResourceFinder> resourceFinders)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addResourceFinder(ResourceFinder resourceFinder)
Adds a resource explorer to the resource manager.
|
protected ResourceConfigList |
cleanUnValidResource(ResourceConfigList cleaningResourceInfos)
Cleans up illegal resource allocation.
|
DomainResourceConfig |
findConfigByResourceID(java.lang.String componentPath, java.lang.String domainResourceID)
${services_rest_ResourceManager_method_findConfigByResourceID_Title}
|
ResourceConfigList |
getAllResourceConfigs()
${services_rest_ResourceManager_method_getAllResourceConfigs_Title}
|
java.util.List<URLBindingInfo> |
getAllURLBindingInfo()
${services_rest_ResourceManager_method_getAllURLBindingInfo_Title}
|
java.util.List<ResourceFinder> |
getResoruceLoaders()
${services_rest_ResourceManager_method_getResoruceLoaders_Title}
|
protected void |
processUrlInherit(ResourceConfigList sourceConfigList)
Handles the url of the inherited resource.
|
void |
reflesh()
${services_rest_ResourceManager_method_reflesh_Title}
|
void |
setResoruceLoaders(java.util.List<ResourceFinder> resourceFinders)
Sets up resource explorers.
|
public ResourceManager(java.util.List<ResourceFinder> resourceFinders)
The Constructor.
resourceFinders
-public java.util.List<ResourceFinder> getResoruceLoaders()
${services_rest_ResourceManager_method_getResoruceLoaders_Title}
${services_rest_ResourceManager_method_getResoruceLoaders_Description}
public void setResoruceLoaders(java.util.List<ResourceFinder> resourceFinders)
Sets up resource explorers.
resourceFinders
- Resource explorer.public ResourceConfigList getAllResourceConfigs()
${services_rest_ResourceManager_method_getAllResourceConfigs_Title}
${services_rest_ResourceManager_method_getAllResourceConfigs_Description}
public void reflesh()
${services_rest_ResourceManager_method_reflesh_Title}
${services_rest_ResourceManager_method_reflesh_Description}
public java.util.List<URLBindingInfo> getAllURLBindingInfo()
${services_rest_ResourceManager_method_getAllURLBindingInfo_Title}
${services_rest_ResourceManager_method_getAllURLBindingInfo_Description}
public DomainResourceConfig findConfigByResourceID(java.lang.String componentPath, java.lang.String domainResourceID)
${services_rest_ResourceManager_method_findConfigByResourceID_Title}
${services_rest_ResourceManager_method_findConfigByResourceID_Description}
componentPath
- ${services_rest_ResourceManager_method_findConfigByResourceID_param_componentPath}domainResourceID
- ${services_rest_ResourceManager_method_findConfigByResourceID_param_domainResourceID}protected ResourceConfigList cleanUnValidResource(ResourceConfigList cleaningResourceInfos)
protected void processUrlInherit(ResourceConfigList sourceConfigList)
sourceConfigList
-public void addResourceFinder(ResourceFinder resourceFinder)
resourceFinder
-