public static bool areProcessApplicationsRegistered() { ProcessEngineConfigurationImpl processEngineConfiguration = Context.ProcessEngineConfiguration; ProcessApplicationManager processApplicationManager = processEngineConfiguration.ProcessApplicationManager; return(processApplicationManager.hasRegistrations()); }
public static string assertAndEnsureNoProcessApplicationsRegistered(ProcessEngine processEngine) { ProcessEngineConfigurationImpl engineConfiguration = (ProcessEngineConfigurationImpl)processEngine.ProcessEngineConfiguration; ProcessApplicationManager processApplicationManager = engineConfiguration.ProcessApplicationManager; if (processApplicationManager.hasRegistrations()) { processApplicationManager.clearRegistrations(); return("There are still process applications registered"); } else { return(null); } }