org.camunda.bpm.extension.osgi.container.deployment
Class OSGiProcessApplicationScanner

java.lang.Object
  extended by org.camunda.bpm.extension.osgi.container.deployment.OSGiProcessApplicationScanner
All Implemented Interfaces:
org.camunda.bpm.container.impl.deployment.scanning.spi.ProcessApplicationScanner

public class OSGiProcessApplicationScanner
extends Object
implements org.camunda.bpm.container.impl.deployment.scanning.spi.ProcessApplicationScanner

Author:
Ronny Bräunlich

Constructor Summary
OSGiProcessApplicationScanner(org.osgi.framework.Bundle bundle)
           
 
Method Summary
protected  void addResource(URL source, Map<String,byte[]> resourceMap, String resourceRootPath, String resourceName)
           
 Map<String,byte[]> findResources(ClassLoader classLoader, String paResourceRootPath, URL metaFileUrl)
           
 Map<String,byte[]> findResources(ClassLoader classLoader, String paResourceRootPath, URL metaFileUrl, String[] additionalResourceSuffixes)
           
protected  Enumeration<URL> loadClasspathResourceRoots(ClassLoader classLoader, String strippedPaResourceRootPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiProcessApplicationScanner

public OSGiProcessApplicationScanner(org.osgi.framework.Bundle bundle)
Method Detail

findResources

public Map<String,byte[]> findResources(ClassLoader classLoader,
                                        String paResourceRootPath,
                                        URL metaFileUrl)
Specified by:
findResources in interface org.camunda.bpm.container.impl.deployment.scanning.spi.ProcessApplicationScanner

findResources

public Map<String,byte[]> findResources(ClassLoader classLoader,
                                        String paResourceRootPath,
                                        URL metaFileUrl,
                                        String[] additionalResourceSuffixes)
Specified by:
findResources in interface org.camunda.bpm.container.impl.deployment.scanning.spi.ProcessApplicationScanner

loadClasspathResourceRoots

protected Enumeration<URL> loadClasspathResourceRoots(ClassLoader classLoader,
                                                      String strippedPaResourceRootPath)

addResource

protected void addResource(URL source,
                           Map<String,byte[]> resourceMap,
                           String resourceRootPath,
                           String resourceName)


Copyright © 2015 camunda services GmbH. All rights reserved.