org.camunda.bpm.container.impl.deployment.scanning.spi
Interface ProcessApplicationScanner

All Known Implementing Classes:
ClassPathProcessApplicationScanner, VfsProcessApplicationScanner

public interface ProcessApplicationScanner

Author:
Daniel Meyer

Method Summary
 Map<String,byte[]> findResources(ClassLoader classLoader, String paResourceRootPath, URL metaFileUrl)
           
 Map<String,byte[]> findResources(ClassLoader classLoader, String paResourceRootPath, URL metaFileUrl, String[] additionalResourceSuffixes)
           
 

Method Detail

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


Copyright © 2015 camunda services GmbH. All rights reserved.