Search in sources :

Example 6 with ProcessApplicationManager

use of org.camunda.bpm.engine.impl.application.ProcessApplicationManager in project camunda-bpm-platform by camunda.

the class ProcessApplicationContextUtil method areProcessApplicationsRegistered.

public static boolean areProcessApplicationsRegistered() {
    ProcessEngineConfigurationImpl processEngineConfiguration = Context.getProcessEngineConfiguration();
    ProcessApplicationManager processApplicationManager = processEngineConfiguration.getProcessApplicationManager();
    return processApplicationManager.hasRegistrations();
}
Also used : ProcessApplicationManager(org.camunda.bpm.engine.impl.application.ProcessApplicationManager) ProcessEngineConfigurationImpl(org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl)

Example 7 with ProcessApplicationManager

use of org.camunda.bpm.engine.impl.application.ProcessApplicationManager in project camunda-bpm-platform by camunda.

the class ProcessApplicationContextUtil method loggContextSwitchDetails.

private static void loggContextSwitchDetails(ExecutionEntity execution) {
    final CoreExecutionContext<? extends CoreExecution> executionContext = Context.getCoreExecutionContext();
    // only log for first atomic op:
    if (executionContext == null || (executionContext.getExecution() != execution)) {
        ProcessApplicationManager processApplicationManager = Context.getProcessEngineConfiguration().getProcessApplicationManager();
        LOG.debugNoTargetProcessApplicationFound(execution, processApplicationManager);
    }
}
Also used : ProcessApplicationManager(org.camunda.bpm.engine.impl.application.ProcessApplicationManager)

Aggregations

ProcessApplicationManager (org.camunda.bpm.engine.impl.application.ProcessApplicationManager)7 ProcessEngineConfigurationImpl (org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl)4 ProcessApplicationReference (org.camunda.bpm.application.ProcessApplicationReference)2 ProcessApplicationInterface (org.camunda.bpm.application.ProcessApplicationInterface)1 ProcessApplicationUnavailableException (org.camunda.bpm.application.ProcessApplicationUnavailableException)1 CommandContext (org.camunda.bpm.engine.impl.interceptor.CommandContext)1 ProcessDefinitionEntity (org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity)1