Interface ProcessApplicationScanner
- All Known Implementing Classes:
ClassPathProcessApplicationScanner
,VfsProcessApplicationScanner
public interface ProcessApplicationScanner
- Author:
- Daniel Meyer
-
Method Summary
Modifier and TypeMethodDescriptionfindResources
(ClassLoader classLoader, String paResourceRootPath, URL metaFileUrl) findResources
(ClassLoader classLoader, String paResourceRootPath, URL metaFileUrl, String[] additionalResourceSuffixes)
-
Method Details
-
findResources
Map<String,byte[]> findResources(ClassLoader classLoader, String paResourceRootPath, URL metaFileUrl) - Parameters:
classLoader
- the classloader to scanpaResourceRootPath
- seeProcessArchiveXml.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 scanpaResourceRootPath
- seeProcessArchiveXml.PROP_RESOURCE_ROOT_PATH
metaFileUrl
- the URL to the META-INF/processes.xml fileadditionalResourceSuffixes
- a list of additional suffixes for resources- Returns:
- a Map of process definitions
-