Interface ProcessApplicationScanner

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​byte[]> findResources​(java.lang.ClassLoader classLoader, java.lang.String paResourceRootPath, java.net.URL metaFileUrl)  
      java.util.Map<java.lang.String,​byte[]> findResources​(java.lang.ClassLoader classLoader, java.lang.String paResourceRootPath, java.net.URL metaFileUrl, java.lang.String[] additionalResourceSuffixes)  
    • Method Detail

      • findResources

        java.util.Map<java.lang.String,​byte[]> findResources​(java.lang.ClassLoader classLoader,
                                                                   java.lang.String paResourceRootPath,
                                                                   java.net.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

        java.util.Map<java.lang.String,​byte[]> findResources​(java.lang.ClassLoader classLoader,
                                                                   java.lang.String paResourceRootPath,
                                                                   java.net.URL metaFileUrl,
                                                                   java.lang.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