public abstract static class ResourceCapableCacheDataImporterExporter.AbstractImportResourceResolver extends ResourceCapableCacheDataImporterExporter.AbstractCacheResourceResolver implements ResourceCapableCacheDataImporterExporter.ImportResourceResolver
ResourceResolver implementations, providing a template
to resolve the Resource to import.| Constructor and Description |
|---|
AbstractImportResourceResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.core.io.Resource |
onMissingResource(org.springframework.core.io.Resource resource,
java.lang.String location)
Action to perform when the
Resource identified at the specified location is missing,
or was not qualified. |
java.util.Optional<org.springframework.core.io.Resource> |
resolve(org.apache.geode.cache.Region<?,?> region)
Tries to resolve a
Resource to a location containing data for the given Region. |
evaluate, getApplicationContext, getEnvironment, getExpressionParser, getFullyQualifiedResourceLocation, getLogger, getParserContext, getResourceLocation, getResourceName, getResourceName, getResourcePath, isQualified, newEvaluationContext, parse, setApplicationContext, setEnvironmentgetClassLoader, getResourceLoader, newResource, newResourceLoader, postProcess, resolve, setResourceLoaderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolvegetClassLoader, requirepublic java.util.Optional<org.springframework.core.io.Resource> resolve(@NonNull
org.apache.geode.cache.Region<?,?> region)
ResourceCapableCacheDataImporterExporter.CacheResourceResolverResource to a location containing data for the given Region.
The Region is used to determine the location of the Resource to load.resolve in interface ResourceCapableCacheDataImporterExporter.CacheResourceResolverregion - Region used to resolve the Resource.Optional Resource handle to a location containing data
for the given Region.Resource,
Region,
Optional@Nullable
protected org.springframework.core.io.Resource onMissingResource(@Nullable
org.springframework.core.io.Resource resource,
@NonNull
java.lang.String location)
ResourceLoaderResourceResolverResource identified at the specified location is missing,
or was not qualified.onMissingResource in class ResourceLoaderResourceResolverresource - missing Resource.location - String containing the location identifying the missing Resource.Resource, possibly. Alternatively, this method may throw
a ResourceNotFoundException.ResourceLoaderResourceResolver.isQualified(Resource)