public class StaticExternalResourceInfoProvider extends Object implements ExternalResourceInfoProvider
ExternalResourceInfoProvider
which return fixed collection of
ExternalResourceInfo
.NO_EXTERNAL_RESOURCES
Constructor and Description |
---|
StaticExternalResourceInfoProvider(Map<String,Set<? extends ExternalResourceInfo>> externalResources) |
Modifier and Type | Method and Description |
---|---|
Set<ExternalResourceInfo> |
getExternalResourceInfos(String resourceName)
Get the specific external resource information by the resourceName.
|
public StaticExternalResourceInfoProvider(Map<String,Set<? extends ExternalResourceInfo>> externalResources)
public Set<ExternalResourceInfo> getExternalResourceInfos(String resourceName)
ExternalResourceInfoProvider
getExternalResourceInfos
in interface ExternalResourceInfoProvider
resourceName
- of the required external resourceCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.