Class ProcessApplicationManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.application.ProcessApplicationManager
-
public class ProcessApplicationManager extends java.lang.Object
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description static ProcessApplicationLogger
LOG
protected java.util.Map<java.lang.String,DefaultProcessApplicationRegistration>
registrationsByDeploymentId
-
Constructor Summary
Constructors Constructor Description ProcessApplicationManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearRegistrations()
protected void
createJobExecutorRegistrations(java.util.Set<java.lang.String> deploymentIds)
protected DefaultProcessApplicationRegistration
createProcessApplicationRegistration(java.util.Set<java.lang.String> deploymentsToRegister, ProcessApplicationReference reference)
protected java.util.List<CaseDefinition>
getDeployedCaseDefinitionArtifacts(DeploymentEntity deployment)
protected java.util.List<ProcessDefinition>
getDeployedProcessDefinitionArtifacts(DeploymentEntity deployment)
ProcessApplicationReference
getProcessApplicationForDeployment(java.lang.String deploymentId)
java.lang.String
getRegistrationSummary()
boolean
hasRegistrations()
protected void
logCaseDefinitionRegistrations(java.lang.StringBuilder builder, java.util.List<CaseDefinition> caseDefinitions)
protected void
logProcessDefinitionRegistrations(java.lang.StringBuilder builder, java.util.List<ProcessDefinition> processDefinitions)
protected void
logRegistration(java.util.Set<java.lang.String> deploymentIds, ProcessApplicationReference reference)
ProcessApplicationRegistration
registerProcessApplicationForDeployments(java.util.Set<java.lang.String> deploymentsToRegister, ProcessApplicationReference reference)
protected void
removeJobExecutorRegistrations(java.util.Set<java.lang.String> deploymentIds)
protected void
removeProcessApplicationRegistration(java.util.Set<java.lang.String> deploymentIds, boolean removeProcessesFromCache)
void
unregisterProcessApplicationForDeployments(java.util.Set<java.lang.String> deploymentIds, boolean removeProcessesFromCache)
-
-
-
Field Detail
-
LOG
public static final ProcessApplicationLogger LOG
-
registrationsByDeploymentId
protected java.util.Map<java.lang.String,DefaultProcessApplicationRegistration> registrationsByDeploymentId
-
-
Method Detail
-
getProcessApplicationForDeployment
public ProcessApplicationReference getProcessApplicationForDeployment(java.lang.String deploymentId)
-
registerProcessApplicationForDeployments
public ProcessApplicationRegistration registerProcessApplicationForDeployments(java.util.Set<java.lang.String> deploymentsToRegister, ProcessApplicationReference reference)
-
clearRegistrations
public void clearRegistrations()
-
unregisterProcessApplicationForDeployments
public void unregisterProcessApplicationForDeployments(java.util.Set<java.lang.String> deploymentIds, boolean removeProcessesFromCache)
-
hasRegistrations
public boolean hasRegistrations()
-
createProcessApplicationRegistration
protected DefaultProcessApplicationRegistration createProcessApplicationRegistration(java.util.Set<java.lang.String> deploymentsToRegister, ProcessApplicationReference reference)
-
removeProcessApplicationRegistration
protected void removeProcessApplicationRegistration(java.util.Set<java.lang.String> deploymentIds, boolean removeProcessesFromCache)
-
createJobExecutorRegistrations
protected void createJobExecutorRegistrations(java.util.Set<java.lang.String> deploymentIds)
-
removeJobExecutorRegistrations
protected void removeJobExecutorRegistrations(java.util.Set<java.lang.String> deploymentIds)
-
logRegistration
protected void logRegistration(java.util.Set<java.lang.String> deploymentIds, ProcessApplicationReference reference)
-
getDeployedProcessDefinitionArtifacts
protected java.util.List<ProcessDefinition> getDeployedProcessDefinitionArtifacts(DeploymentEntity deployment)
-
getDeployedCaseDefinitionArtifacts
protected java.util.List<CaseDefinition> getDeployedCaseDefinitionArtifacts(DeploymentEntity deployment)
-
logProcessDefinitionRegistrations
protected void logProcessDefinitionRegistrations(java.lang.StringBuilder builder, java.util.List<ProcessDefinition> processDefinitions)
-
logCaseDefinitionRegistrations
protected void logCaseDefinitionRegistrations(java.lang.StringBuilder builder, java.util.List<CaseDefinition> caseDefinitions)
-
getRegistrationSummary
public java.lang.String getRegistrationSummary()
-
-