org.camunda.bpm.engine.impl.application
Class ProcessApplicationManager

java.lang.Object
  extended by org.camunda.bpm.engine.impl.application.ProcessApplicationManager

public class ProcessApplicationManager
extends Object

Author:
Daniel Meyer

Field Summary
static ProcessApplicationLogger LOG
           
protected  Map<String,DefaultProcessApplicationRegistration> registrationsByDeploymentId
           
 
Constructor Summary
ProcessApplicationManager()
           
 
Method Summary
 void clearRegistrations()
           
protected  void createJobExecutorRegistrations(Set<String> deploymentIds)
           
protected  DefaultProcessApplicationRegistration createProcessApplicationRegistration(Set<String> deploymentsToRegister, ProcessApplicationReference reference)
           
protected  List<CaseDefinition> getDeployedCaseDefinitionArtifacts(DeploymentEntity deployment)
           
protected  List<ProcessDefinition> getDeployedProcessDefinitionArtifacts(DeploymentEntity deployment)
           
 ProcessApplicationReference getProcessApplicationForDeployment(String deploymentId)
           
 String getRegistrationSummary()
           
 boolean hasRegistrations()
           
protected  void logCaseDefinitionRegistrations(StringBuilder builder, List<CaseDefinition> caseDefinitions)
           
protected  void logProcessDefinitionRegistrations(StringBuilder builder, List<ProcessDefinition> processDefinitions)
           
protected  void logRegistration(Set<String> deploymentIds, ProcessApplicationReference reference)
           
 ProcessApplicationRegistration registerProcessApplicationForDeployments(Set<String> deploymentsToRegister, ProcessApplicationReference reference)
           
protected  void removeJobExecutorRegistrations(Set<String> deploymentIds)
           
protected  void removeProcessApplicationRegistration(Set<String> deploymentIds, boolean removeProcessesFromCache)
           
 void unregisterProcessApplicationForDeployments(Set<String> deploymentIds, boolean removeProcessesFromCache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final ProcessApplicationLogger LOG

registrationsByDeploymentId

protected Map<String,DefaultProcessApplicationRegistration> registrationsByDeploymentId
Constructor Detail

ProcessApplicationManager

public ProcessApplicationManager()
Method Detail

getProcessApplicationForDeployment

public ProcessApplicationReference getProcessApplicationForDeployment(String deploymentId)

registerProcessApplicationForDeployments

public ProcessApplicationRegistration registerProcessApplicationForDeployments(Set<String> deploymentsToRegister,
                                                                               ProcessApplicationReference reference)

clearRegistrations

public void clearRegistrations()

unregisterProcessApplicationForDeployments

public void unregisterProcessApplicationForDeployments(Set<String> deploymentIds,
                                                       boolean removeProcessesFromCache)

hasRegistrations

public boolean hasRegistrations()

createProcessApplicationRegistration

protected DefaultProcessApplicationRegistration createProcessApplicationRegistration(Set<String> deploymentsToRegister,
                                                                                     ProcessApplicationReference reference)

removeProcessApplicationRegistration

protected void removeProcessApplicationRegistration(Set<String> deploymentIds,
                                                    boolean removeProcessesFromCache)

createJobExecutorRegistrations

protected void createJobExecutorRegistrations(Set<String> deploymentIds)

removeJobExecutorRegistrations

protected void removeJobExecutorRegistrations(Set<String> deploymentIds)

logRegistration

protected void logRegistration(Set<String> deploymentIds,
                               ProcessApplicationReference reference)

getDeployedProcessDefinitionArtifacts

protected List<ProcessDefinition> getDeployedProcessDefinitionArtifacts(DeploymentEntity deployment)

getDeployedCaseDefinitionArtifacts

protected List<CaseDefinition> getDeployedCaseDefinitionArtifacts(DeploymentEntity deployment)

logProcessDefinitionRegistrations

protected void logProcessDefinitionRegistrations(StringBuilder builder,
                                                 List<ProcessDefinition> processDefinitions)

logCaseDefinitionRegistrations

protected void logCaseDefinitionRegistrations(StringBuilder builder,
                                              List<CaseDefinition> caseDefinitions)

getRegistrationSummary

public String getRegistrationSummary()


Copyright © 2017 camunda services GmbH. All rights reserved.