GigaSpaces XAP 9.7.2 API

org.openspaces.pu.container.support
Class PUPathMatchingResourcePatternResolver

java.lang.Object
  extended by org.springframework.core.io.support.PathMatchingResourcePatternResolver
      extended by org.openspaces.pu.container.support.PUPathMatchingResourcePatternResolver
All Implemented Interfaces:
ResourceLoader, ResourcePatternResolver

public class PUPathMatchingResourcePatternResolver
extends 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.support.ResourcePatternResolver
CLASSPATH_ALL_URL_PREFIX
 
Fields inherited from interface org.springframework.core.io.ResourceLoader
CLASSPATH_URL_PREFIX
 
Constructor Summary
PUPathMatchingResourcePatternResolver()
           
 
Method Summary
protected  Resource convertClassLoaderURL(URL url)
           
protected  Set doFindMatchingFileSystemResources(File rootDir, String subPattern)
           
protected  Set doFindPathMatchingJarResources(Resource rootDirResource, String subPattern)
           
 
Methods inherited from class org.springframework.core.io.support.PathMatchingResourcePatternResolver
determineRootDir, doFindPathMatchingFileResources, doRetrieveMatchingFiles, findAllClassPathResources, findPathMatchingResources, getClassLoader, getJarFile, getPathMatcher, getResource, getResourceLoader, getResources, isJarResource, resolveRootDirResource, retrieveMatchingFiles, setPathMatcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PUPathMatchingResourcePatternResolver

public PUPathMatchingResourcePatternResolver()
Method Detail

convertClassLoaderURL

protected Resource convertClassLoaderURL(URL url)
Overrides:
convertClassLoaderURL in class PathMatchingResourcePatternResolver

doFindMatchingFileSystemResources

protected Set doFindMatchingFileSystemResources(File rootDir,
                                                String subPattern)
                                         throws IOException
Overrides:
doFindMatchingFileSystemResources in class PathMatchingResourcePatternResolver
Throws:
IOException

doFindPathMatchingJarResources

protected Set doFindPathMatchingJarResources(Resource rootDirResource,
                                             String subPattern)
                                      throws IOException
Overrides:
doFindPathMatchingJarResources in class PathMatchingResourcePatternResolver
Throws:
IOException

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.