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_PREFIX

    Fields inherited from interface org.springframework.core.io.support.ResourcePatternResolver

    CLASSPATH_ALL_URL_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.core.io.Resource
     
    protected Set
    doFindPathMatchingFileResources(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PUPathMatchingResourcePatternResolver

      public PUPathMatchingResourcePatternResolver()
  • Method Details

    • convertClassLoaderURL

      protected org.springframework.core.io.Resource convertClassLoaderURL(URL url)
      Overrides:
      convertClassLoaderURL in class org.springframework.core.io.support.PathMatchingResourcePatternResolver
    • doFindPathMatchingFileResources

      protected Set doFindPathMatchingFileResources(org.springframework.core.io.Resource rootDir, String subPattern) throws IOException
      Overrides:
      doFindPathMatchingFileResources in class org.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:
      doFindPathMatchingJarResources in class org.springframework.core.io.support.PathMatchingResourcePatternResolver
      Throws:
      IOException