Class PUPathMatchingResourcePatternResolver
java.lang.Object
org.springframework.core.io.support.PathMatchingResourcePatternResolver
org.openspaces.pu.container.support.PUPathMatchingResourcePatternResolver
- All Implemented Interfaces:
org.springframework.core.io.ResourceLoader,org.springframework.core.io.support.ResourcePatternResolver
public class PUPathMatchingResourcePatternResolver
extends org.springframework.core.io.support.PathMatchingResourcePatternResolver
A specific pattern resolver that handles the following:
1. Allows to create matching on "file system" resource which actually resides on webster
Note: This is only applicable when not downloading the processing unit. Or when we are
downloading the processing unit, and shared-lib is used (which is not longer recommended in
7.0).
- Author:
- kimchy
-
Field Summary
Fields inherited from interface org.springframework.core.io.ResourceLoader
CLASSPATH_URL_PREFIXFields inherited from interface org.springframework.core.io.support.ResourcePatternResolver
CLASSPATH_ALL_URL_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.core.io.ResourceconvertClassLoaderURL(URL url) protected SetdoFindPathMatchingFileResources(org.springframework.core.io.Resource rootDir, String subPattern) protected Set<org.springframework.core.io.Resource>doFindPathMatchingJarResources(org.springframework.core.io.Resource rootDirResource, URL rootDirURL, String subPattern) Methods inherited from class org.springframework.core.io.support.PathMatchingResourcePatternResolver
addAllClassLoaderJarRoots, addClassPathManifestEntries, clearCache, determineRootDir, doFindAllClassPathResources, findAllClassPathResources, findAllModulePathResources, findPathMatchingResources, getClassLoader, getJarFile, getPathMatcher, getResource, getResourceLoader, getResources, isJarResource, resolveRootDirResource, setPathMatcher, setUseCaches
-
Constructor Details
-
PUPathMatchingResourcePatternResolver
public PUPathMatchingResourcePatternResolver()
-
-
Method Details
-
convertClassLoaderURL
- Overrides:
convertClassLoaderURLin classorg.springframework.core.io.support.PathMatchingResourcePatternResolver
-
doFindPathMatchingFileResources
protected Set doFindPathMatchingFileResources(org.springframework.core.io.Resource rootDir, String subPattern) throws IOException - Overrides:
doFindPathMatchingFileResourcesin classorg.springframework.core.io.support.PathMatchingResourcePatternResolver- Throws:
IOException
-
doFindPathMatchingJarResources
protected Set<org.springframework.core.io.Resource> doFindPathMatchingJarResources(org.springframework.core.io.Resource rootDirResource, URL rootDirURL, String subPattern) throws IOException - Overrides:
doFindPathMatchingJarResourcesin classorg.springframework.core.io.support.PathMatchingResourcePatternResolver- Throws:
IOException
-