Ejemplo n.º 1
0
        public static bool areProcessApplicationsRegistered()
        {
            ProcessEngineConfigurationImpl processEngineConfiguration = Context.ProcessEngineConfiguration;
            ProcessApplicationManager      processApplicationManager  = processEngineConfiguration.ProcessApplicationManager;

            return(processApplicationManager.hasRegistrations());
        }
Ejemplo n.º 2
0
        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);
            }
        }