docs: protected void stopProcessApplication(ProcessApplicationReference processApplicationReference) {
  
      try {
        // unless the user has overridden the stop behavior,
        // this causes the process application to remove its services
        // (triggers nested undeployment operation)
        ProcessApplicationInterface processApplication = processApplicationReference.getProcessApplication();
        processApplication.undeploy();
      }
      catch(Throwable t) {
        LOG.exceptionWhileStopping("Process Application", processApplicationReference.getName(), t);
      }
  
    }