org.camunda.bpm.container.impl.jmx.deployment
Class ParseProcessesXmlStep

java.lang.Object
  extended by org.camunda.bpm.container.impl.jmx.kernel.MBeanDeploymentOperationStep
      extended by org.camunda.bpm.container.impl.jmx.deployment.ParseProcessesXmlStep

public class ParseProcessesXmlStep
extends MBeanDeploymentOperationStep

Detects and parses all META-INF/processes.xml files within the process application and attaches the parsed Metadata to the operation context.

Author:
Daniel Meyer

Field Summary
 
Fields inherited from class org.camunda.bpm.container.impl.jmx.kernel.MBeanDeploymentOperationStep
LOGGER
 
Constructor Summary
ParseProcessesXmlStep()
           
 
Method Summary
protected  String[] getDeploymentDescriptorLocations(AbstractProcessApplication processApplication)
           
 String getName()
           
protected  List<URL> getProcessesXmlUrls(String[] deploymentDescriptors, ClassLoader processApplicationClassloader)
           
protected  boolean isEmptyFile(URL url)
           
protected  ProcessesXml parseProcessesXml(URL url)
           
protected  Map<URL,ProcessesXml> parseProcessesXmlFiles(AbstractProcessApplication processApplication)
           
 void performOperationStep(MBeanDeploymentOperation operationContext)
           
 
Methods inherited from class org.camunda.bpm.container.impl.jmx.kernel.MBeanDeploymentOperationStep
cancelOperationStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseProcessesXmlStep

public ParseProcessesXmlStep()
Method Detail

getName

public String getName()
Specified by:
getName in class MBeanDeploymentOperationStep

performOperationStep

public void performOperationStep(MBeanDeploymentOperation operationContext)
Specified by:
performOperationStep in class MBeanDeploymentOperationStep

parseProcessesXmlFiles

protected Map<URL,ProcessesXml> parseProcessesXmlFiles(AbstractProcessApplication processApplication)

getProcessesXmlUrls

protected List<URL> getProcessesXmlUrls(String[] deploymentDescriptors,
                                        ClassLoader processApplicationClassloader)

getDeploymentDescriptorLocations

protected String[] getDeploymentDescriptorLocations(AbstractProcessApplication processApplication)

isEmptyFile

protected boolean isEmptyFile(URL url)

parseProcessesXml

protected ProcessesXml parseProcessesXml(URL url)


Copyright © 2014 camunda services GmbH. All Rights Reserved.