Interface ProcessApplicationScanner

All Known Implementing Classes:
ClassPathProcessApplicationScanner, VfsProcessApplicationScanner

public interface ProcessApplicationScanner
Author:
Daniel Meyer
  • Method Details

    • findResources

      Map<String,byte[]> findResources(ClassLoader classLoader, String paResourceRootPath, URL metaFileUrl)
      Parameters:
      classLoader - the classloader to scan
      paResourceRootPath - see ProcessArchiveXml.PROP_RESOURCE_ROOT_PATH
      metaFileUrl - the URL to the META-INF/processes.xml file
      Returns:
      a Map of process definitions
    • findResources

      Map<String,byte[]> findResources(ClassLoader classLoader, String paResourceRootPath, URL metaFileUrl, String[] additionalResourceSuffixes)
      Parameters:
      classLoader - the classloader to scan
      paResourceRootPath - see ProcessArchiveXml.PROP_RESOURCE_ROOT_PATH
      metaFileUrl - the URL to the META-INF/processes.xml file
      additionalResourceSuffixes - a list of additional suffixes for resources
      Returns:
      a Map of process definitions